IBM Support

How to set different properties for Application Server and Agents?

Troubleshooting


Problem

Our Product provides the ability to use different properties for different processes you are running. For example you can disable JMS session pooling on Application Server but enable it on Agents.

Symptom

Environment

Sterling Order Management

Resolving The Problem

To have different properties for each process, you must have different servers.properties and customer_overrides.properties files for each process. In the start up scripts for the process you will need to set -DvendorFile=<your custom server.properties file>

For example, if you want to have JMS session pooling enabled on Agents and disabled on Application Server you could do it like this:

1. Create new folder for Agent properties, e.g. agentproperties in <INSTALL_DIR>/properties


2. Copy paste servers.properties and customer_overrides.properties from <INSTALL_DIR>/properties to <INSTALL_DIR>/properties/agentproperties


3. Add/modify yfs.yfs.jms.session.disable.pooling property in Agent's customer_overrides.properties, e.g. yfs.yfs.jms.session.disable.pooling=N


4. Modify servers.properties to point to correct customer_overrides.properties file, e.g.
customer_overrides=<INSTALL_DIR>/properties/agentproperties/customer_overrides.properties


5. Modify agentserver.sh script, e.g. AGENT_JAVA_OPTS="-Dvendor=shell -DvendorFile=<INSTALL_DIR>/properties/agentproperties/servers.properti
es -DCACHE_PS=true -DDISABLE_DS_EXTENSIONS=Y"

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.4;9.3;9.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

OMS;SSFS

Document Information

Modified date:
16 June 2018

UID

swg21979482