KB Article #169387
Prevent termination of the Interchange service
Problem
-- The Interchange service stops when a Windows user logs off or disconnects from RDP.
Resolution
* To prevent having the service terminated when the service user logs off, make the following edits to the startServer.cmd and jvmArguments.xml files:
Caution: Only make these changes if you are running Interchange as a Windows Service.
bin\startServer.cmd
Add the -Xrs option to the beginning of the EX_OPTIONS variable.
Before
set EX_OPTIONS=-Xmx64m -Daxway.haboob.heap.initial=Xms256m -Daxway.haboob.heap.maximum=Xmx256m
After:
set EX_OPTIONS=-Xrs -Xmx64m -Daxway.haboob.heap.initial=Xms256m -Daxway.haboob.heap.maximum=Xmx256m
conf\jvmArguments.xml
Add <Option>Xrs</Option> to the first <!-- Common to all nodes --> section of the NodeTypes definitions. Note that there is no dash in front of the Xrs this time.
Before:
<NodeType> <!-- Common to all nodes -->
<Property key="com.sun.management.jmxremote"/>
<Property key="axway.network.machineName">${axway.network.machineName}</Property>
<Property key="axway.network.shortName">${axway.network.shortName}</Property>
<Property key="axway.network.longName">${axway.network.longName}</Property>
<Property key="axway.network.name">${axway.network.name}</Property>
<Property key="axway.cluster.logDir">${axway.cluster.logDir}</Property>
<Property key="axway.esb.home">${axway.esb.home}</Property>
<Property key="axway.cluster.node.readTimeout">120000</Property>
<Property key="axway.cluster.node.pingInterval">500</Property>
</NodeType>
After:
<NodeType> <!-- Common to all nodes -->
<Property key="com.sun.management.jmxremote"/>
<Property key="axway.network.machineName">${axway.network.machineName}</Property>
<Property key="axway.network.shortName">${axway.network.shortName}</Property>
<Property key="axway.network.longName">${axway.network.longName}</Property>
<Property key="axway.network.name">${axway.network.name}</Property>
<Property key="axway.cluster.logDir">${axway.cluster.logDir}</Property>
<Property key="axway.esb.home">${axway.esb.home}</Property>
<Property key="axway.cluster.node.readTimeout">120000</Property>
<Property key="axway.cluster.node.pingInterval">500</Property>
<Option>Xrs</Option>
</NodeType>