In a BusinessWorks 6.X environment the state of an application is managed in a file stored in the local appspace folder.
This state can be Enabled which means the application is supposed to be running or Disabled which means the application is supposed to be stopped.
When an appnode is restarted the standard behaviour is to try to start all applications that are in state ‘Enabled’ and to do nothing with the other applications.
In a production environment this may create issues in some scenarios where the state of an application is not properly persisted and is not aligned with what is expected by the operation team.
This behaviour can be changed to always start all applications when the appnode is restarted, in this approach restarting an appnode means also restarting all the deployed applications (whatever what was the states persisted before the appnode restart).
This can be done by simply adding the following property in the appnode configuration:
bw.engine.start.all.applications.on.appnode.startup=true
To apply this property to a given appnode, you have to do the following:
. Go in the appnode directory :
<TIBCO_HOME/bw/6.8/domains/<DOMAIN_NAME>/appnodes/<APPSPACE_NAME>/<APPNODE_NAME>
. Edit the config.ini file
. Add the following line at the end of the file
bw.engine.start.all.applications.on.appnode.startup=true
. The property will be taken into account at the next appnode restart
To apply this property to all appnodes, you have to do the following:
. Go in the BusinessWorks bin directory :
<TIBCO_HOME/bw/6.8/bin
. Edit the bwappnode.tra file
. Add the following line at the end of the file (note that there is a prefix added)
java.property.bw.engine.start.all.applications.on.appnode.startup=true
. The property will be taken into account at the next restart of each appnode
For more information on appnodes .tra and config.ini files you can have a look to the following article:
- 1
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now