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 set properties for all appnodes at once in a BusinessWorks 6.X environment


    In some cases it is needed to set one or multiple properties with the same values for all appnodes, for example to enable the memory saving mode for all appnodes or setting up the Hawk micro-agent configuration for all appnodes.

    Using the standard approach this requires the existing config.ini files of all appspaces, or all appnodes, to be updated with the needed properties and later the properties to be added in the configuration of all the newly created appspaces.

    It is possible to set one or multiple properties with the same values for all appnodes by using the following approach:

    . Go to the <TIBCO_HOME>/bw/6.X/bin directory

    . Edit the bwappnode.tra file

    . At the end of the file add the needed properties with their names prefixed by java.property

    . The change is taken into account when the appnodes are restarted

    Note that property values defined in the appspace config.ini file take precedence over the values defined in the bwappnode.tra file and that property values defined the appnode config.ini file take precedence over values defined in the appspace config.ini and the bwappnode.tra file.

    Examples

    # Setting Hawk properties for all appnodes at once

    This can be done by adding the following properties at the end of the bwappnode.tra file:

    java.property.bw.hawk.hma.enabled=true
    java.property.bw.hawk.hma.transport=tibrv
    java.property.bw.hawk.hma.rv.service=7474
    java.property.bw.hawk.hma.rv.network=127.0.0.1
    java.property.bw.hawk.hma.rv.daemon=tcp:7474

    This approach works when using a Rendezvous transport between the Hawk agent and the Hawk micro-agents while the exact same configuration can be used by all appnodes.

    # Setting the memory saving mode for all appnodes at once

    This can be done by adding the following property at the end of the bwappnode.tra file:

    java.property.bw.engine.enable.memory.saving.mode=true

    # Enabling unicode characters conversion in the Parse JSON activity for all appnodes at once

    This can be done by adding the following property at the end of the bwappnode.tra file:

    java.property.com.tibco.plugin.restjson.escape.unicodeInText=true

    Additional elements
    For more information about 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...