Tuxedo Boot Failure For IBM MQ 7.0 Resource Manager, CMDTUX_CAT:409: xa_recover() returned XAER_RMFAIL

(Doc ID 1160722.1)

Last updated on JANUARY 19, 2018

Applies to:

Oracle Tuxedo - Version 10.3.0 and later
Information in this document applies to any platform.


In a Tuxedo 10.3.0 environment, with an IBM MQ RM (Resource Manager), when attempting to do tmboot on a MQ TMS server the following error occurs and the tmboot fails:

CMDTUX_CAT:409: ERROR: xa_recover() returned -7 for group XYZ

$TUXDIR/udataobj/RM contains the MQ resource manager definition:
MQSeries_XA_RMI:MQRMIXASwitchDynamic: /opt/mqm/lib/libmqmxa.so /opt/mqm/lib/libmqm.so

The MQ TMS server is built using buildtms:
Ex: $TUXDIR/bin/buildtms -r MQSeries_XA_RMI -o TMS_MYMQ

After turning on tmtrace the ULOG shows the following:

xa_open(xidaddr, 0, 0x0) => 0 (succeeded)
xa_recover(xidaddr, 100, 0, 0x1000000) => -7 (XAER_RMFAIL)

Note: This is the first execution of xa_recover( i.e. 0x1000000==TMSTARTRSCAN)

  • Cause

    Sign In with your My Oracle Support account

    Don't have a My Oracle Support account? Click to get started

    My Oracle Support provides customers with access to over a
    Million Knowledge Articles and hundreds of Community platforms