The way a server instance handles XA resource connection errors is controlled by the following environment variables:
If it cannot reconnect, the server monitors the number of attempts made.
ES_XA_????_NB_RETRIES=nnnn
where ???? defines the XA ID, and nnnn is the number of subsequent XA call failures allowed before the SEP is recycled and the switch disabled. The default is 5 and its maximum value is 254. If you set nnnn to -1 or a number greater than 254, your switch module will never be disabled and reconnection attempts will continue indefinitely.
If the maximum number of call failures is reached, disabling your switch module, and ES_XA_RECONNECT is set to True, you can reenable the switch by starting Enterprise Server Monitoring and Control (ESMAC) and performing the following steps:
To start ESMAC:
The Details screen for the server is displayed.
The Enterprise Server Monitoring and Control (ESMAC) screen is displayed.