The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Articles
Read more about TIBCO use cases, product features, capabilities and more
  • BW6.X - How to start all deployed applications when a BusinessWorks 6.X appnode is started


    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:

    https://community.tibco.com/articles/tibco-activematrix-businessworks/bw6x-useful-things-to-know-about-appspace_configini_template-and-appnode_configini_template-files-r3362/

    • Like 1

    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...