[JBoss] Transaction backed out with reason: 'The method 'xa_end' has failed with errorCode...

Discussão em 'StackOverflow' iniciado por Stack, Agosto 9, 2025.

  1. Stack

    Stack Membro Participativo

    I am using JBOSS 7 to host my MDB and IBM MQ as my messaging provider. I am using wmq.jmsra.rar resource adapter to communicate to IBM MQ.

    If Message1 is consumed by MDB, we are storing message content into DB. Due to field validation it can't able to store and throwing exception. We handled that run time exception and MDB code running good. Now, Instead of picking Message 2 from queue, MDB keep on picking again message 1 and processing again and again.. we are getting below error in log file.

    2018-02-08 18:53:19,447 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (default-threads - 17) wmq.jmsra.rar: MQJCA4026:Transaction backed out with reason: 'The method 'xa_end' has failed with errorCode '100'.'.
    2018-02-08 18:53:19,448 WARN [com.arjuna.ats.jta] (default-threads - 17) ARJUNA016045: attempted rollback of < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a5b844a:bacea37:5a7c20fa:897, node_name=1, branch_uid=0:ffff0a5b844a:bacea37:5a7c20fa:898, subordinatenodename=null, eis_name=unknown eis name > (com.ibm.mq.connector.xa.XARWrapper@3d6ba018) failed with exception code XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.

    Continue reading...

Compartilhe esta Página