How can we configure EMS reconnectivity for Tibco Adapter forSAP?

How can we configure EMS reconnectivity for Tibco Adapter forSAP?

book

Article ID: KB0094297

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions -
Not Applicable -

Description

Resolution:
To Configure EMS reconnectivity for Tibco Adapter for  SAP.

We have two mechanisms to configure EMS reconnectivity, below follows the details of the same.

1) Mechanism1:

Usage of factories.conf file for Re-connectivity (to be used only when JNDI is enabled)

Please update the following changes to the Factories.conf file.
________________________________________________________________

[TopicConnectionFactory]

  Type                  = topic

  URL                   = tcp://< hostname>:7222, tcp://&lthostname>:7222

  Metric = connections

  connect_attempt_count=10000

  connect_attempt_delay=5000

  reconnect_attempt_count=10000

  reconnect_attempt_delay=5000

[QueueConnectionFactory]

  Type                  = queue

  URL                   = tcp://&lthostname>:7222, tcp://&lthostname>:7222

  Metric = connections

  connect_attempt_count=10000

  connect_attempt_delay=5000

  reconnect_attempt_count=10000

  reconnect_attempt_delay=5000

Also, provide the JMS provideURL in the adapter tra in the following way:

tcp://< hostname>:7222, tcp://&lthostname>:7222


2) Mechanism2:

Usage of adr3.tra file for Re-connectivity( can be used when JNDI is unchecked)

-------------------------------------------
a) Add two urls to JmsProviderUrl global variable in adr3.tra separated by a comma.

  e.g.  tibco.clientVar.JmsProviderUrl =tcp://&ltems_server_name>:7222,tcp://&ltems_server_name:7222

b) Add two variables as shown below to adr3.tra file. This will be referenced by adapter when it tries to reconnect to JMS server              
               tibco.jmsReconnectCount=10000

               tibco.jmsReconnectDelay=5000

c) Go to "Connection Factory Name" field under all available JMS Sessions under "Advanced Folder" of Adapter configuration and make the value blank.

The value of  tibco.jmsReconnectDelay above is in millisec

Issue/Introduction

How can we configure EMS reconnectivity for Tibco Adapter forSAP?