At start-up, CRCN reports the initial state of the RMs by emitting the following messages:
CASXO0041I The XA connection monitoring transaction CRCN started using a 00020 seconds interval.
This message is followed by a message similar to the following:
CASXO0034I CRCN started monitoring: XAMQ Enabled, XADB Enabled, XAOR Enabled.
Where XAMQ, XADB, and XAOR represent active and connectable resource managers marked as Enabled at region start-up.
To verify connectivity, CRCN uses a new function of the XA switch: -- xa-ping.
This entry point pings the resource manager, which then confirms that it is connectable. The ping is a simple call/API into the RM; see Pinging the Resource Manager (xa-ping) for details on the call for each XA switch.
If xa-ping does not return a code of 0, this signals to the transaction that a resource manager cannot be contacted. In this case, the following messages appear in the console:
CASXO0038I XA resource XAMQ has now been disabled. CASXO0031W ES has lost connection to the RM XAMQ, attempting to reconnect.
The first message indicates that CRCN sent a request to all processes to close the connection to the resource managers. The last process to fulfil the request emits this message. The second message indicates that the connection to the resource manager has been lost and that Enterprise Server is attempting to restore the connection.