Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions | - |
Not Applicable | - |
Resolution:
Steps:
1. Stop the EMS server . If EMS Server is installed as a service on a windows machine, go to the Windows Services icon in Control Panel and double click. From the list of services (as shown in the figure below) select the TIBCO EMS Server Service and click on the stop service button. If EMS Server is installed on UNIX machine, execute the script to stop the EMS server.
2. In Windows Explorer (in case of Windows machines) or on command prompt go to the bin folder under the installation folder of Tibco EMS (for example C:\tibco\ems\bin).
3. Make a backup copy of the factories.conf file. Open the factories.conf file in notepad/wordpad.
4. Change the following parameters in the file,
[TopicConnectionFactory]
type = topic
url = tcp://<EMS Server Machine Name>:<TCP Port>, tcp://<EMS Server Machine Name>:<TCP Port>
metric = connections
connect_attempt_count = 1000
connect_attempt_delay = 5000
reconnect_attempt_count = 1000
reconnect_attempt_delay = 5000
[QueueConnectionFactory]
type = queue
url = tcp://<EMS Server Machine Name>:<TCP Port>, tcp://<EMS Server
Machine Name>:<TCP Port>
metric = connections
connect_attempt_count = 1000
connect_attempt_delay = 5000
reconnect_attempt_count = 1000
reconnect_attempt_delay = 5000
Note :
a> Do not use localhost as the machine name, please specify the actual machine name in the configuration.
b> It is important to specify the url in the format ur1,ur2 for reconnection to work. In case Fault Tolerant servers are not being used, the values of url1 and url2 should be the same.
c> Save the factories.conf file
d> Open the file tibemd.conf and set the “listen” parameter to the url format tcp://<EMS Server Machine Name>:<TCP Port>.
Note: Do not use localhost here. Specify the exact machine name for EMS reconnection to work.
e> Save the tibemsd.conf file and start the EMS Server.