Setting re-connection parameters with TIBCO EMS Server in BW 6.x

Setting re-connection parameters with TIBCO EMS Server in BW 6.x

book

Article ID: KB0074844

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 6.x

Description

Typically, when using JNDI connection to EMS Server, re-connections parameters can be defined on EMS Server-side in factories.conf file using the below parameters:
connect_attempt_count = 20
connect_attempt_delay = 2000
connect_attempt_timeout = 20000
reconnect_attempt_count = 30
reconnect_attempt_delay = 3000
reconnect_attempt_timeout = 30000

These properties will then be applied to all Clients using a particular Connection Factory.

If you need to overwrite these settings for BW AppNode, or if you are using a direct connection to EMS Server, re-connection parameters can be set on the client-side.

Issue/Introduction

How to set/overwrite re-connection parameters with TIBCO EMS Server from Client (BW AppNode) side in BW 6.x?

Resolution

To set re-connection parameters from Client (BW AppNode) side please use below properties in AppNode’s config.ini file:
com.tibco.tibjms.connect.attempts=nn,mmmm
com.tibco.tibjms.connect.attempt.timeout=xxxx
com.tibco.tibjms.reconnect.attempts=nn,mmmm
com.tibco.tibjms.reconnect.attempt.timeout=xxxx
Where comma separated values nn,mmmm stands for respectively: attempt_count,attempt_delay