Different ways to set reconnection properties to an EMS/JMS Server so that BW can reconnect to the EMS server after a server reboot.

Different ways to set reconnection properties to an EMS/JMS Server so that BW can reconnect to the EMS server after a server reboot.

book

Article ID: KB0091877

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
If JNDI lookup is not enabled in the shared JMS connection used by the BW process, the reconnection properties can be configured in the application's tra file as follows:

java.property.com.tibco.tibjms.reconnect.attempts 20,5000

If the BW process uses a JMS connection where JNDI lookup is enabled, the following properties need to be set for the corresponding factories in the factories.conf file of the JNDI EMS server:

connect_attempt_count = 3
connect_attempt_delay = 5000
reconnect_attempt_count= 100
reconnect_attempt_delay= 30000

When the BW application is started and connects to the JNDI EMS Server, it retrieves the properties from the respective factory and then sets itself up. The reconnect parameters set in the factories.conf file can be used to achieve the reconnection by BW. Note that a comma separated URL must be used for the corresponding factory for the reconnection parameters to take effect.

Issue/Introduction

Different ways to set reconnection properties to an EMS/JMS Server so that BW can reconnect to the EMS server after a server reboot.