MQ raises XAER_NOTA: 'xa_rollback' has failed with errorCode '-4' in EAP 6

Solution Verified - Updated -

Issue

Following rollback of a transaction due to an application exception, INFO and WARN messages may be observed in the log if IBM MQ is a particpant in the transaction

... INFO  [stdout] - MQJCA4026:Transaction backed out with reason: 'The method 'xa_end' has failed with errorCode '100'.'.
... WARN ... ARJUNA016045: attempted rollback of <... tx_uid ... > ... failed with exception code XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
        at com.ibm.mq.jmqi.JmqiXAResource.rollback(JmqiXAResource.java:861)
        at com.ibm.mq.connector.xa.XARWrapper.rollback(XARWrapper.java:503)
        at org.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl.rollback(XAResourceWrapperImpl.java:186)
        at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:358)
        at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2875)
        ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6 & 7
  • IBM MQ 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content