Changing the application mode using the ubroker.properties file
To change the application mode by editing ubroker.properties:
1. Determine if you need to set all brokers or just individual brokers to a production mode.
The property values established in the various sections of the ubroker.properties file are governed by a parent-to-child inheritance relationship. For example, values set in the parent, the [UBroker] section, are inherited at the [UBroker.WS] level. Similarly, values defined at the [UBroker.WS] level are inherited as default values by each individual broker instance in the [UBroker.WS.brokername] sections.
Alternatively, you can retain the property values established at the parent level and override only those individual values at the lower, child level that you need to change.
2. Search the ubroker.properties file for the srvrAppMode property in the section, or sections, that you need to change. For example:
To affect all brokers, search for srvrAppMode property in the [UBroker.WS] section.
To affect one or more individual brokers, search for or add the srvrAppMode property in the individual [UBroker.WS.brokername] section.
3. Change the value of the srvrAppMode property to Production.