[AMQ7, OpenWire, XA] AMQ224053: failed to timeout transaction ... ILLEGAL_STATE message=Transaction is in invalid state COMMITTED

Solution Verified - Updated -

Issue

  • using XA transaction and Openwire seeing the following exception
16:30:22,780 ERROR [org.apache.activemq.artemis.core.server] AMQ224053: failed to timeout transaction, xid:XidImpl (XXXXXXXXXXX: ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=Transaction is in invalid state COMMITTED]
        at org.apache.activemq.artemis.core.transaction.impl.TransactionImpl.rollback(TransactionImpl.java:356) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
        at org.apache.activemq.artemis.core.transaction.impl.ResourceManagerImpl$TxTimeoutHandler.run(ResourceManagerImpl.java:215) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_144]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [rt.jar:1.8.0_144]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.8.0_144]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [rt.jar:1.8.0_144]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144]
        at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144]

Environment

  • JBoss AMQ 7.0.2
  • JBoss AMQ 7.0.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In