XAException.XAER_NOTA

javax.transaction.xa.XAException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23fc95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • javax.transaction.xa.XAException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23fc95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4
  • via JBoss Issue Tracker by Miroslav Novak, 9 months ago
    javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
  • javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
  • Stack trace

    • XAException.XAER_NOTA: javax.transaction.xa.XAException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23fc95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4 at org.apache.activemq.TransactionContext.toXAException(TransactionContext.java:786)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.TransactionContext.commit(TransactionContext.java:595)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.ra.LocalAndXATransaction.commit(LocalAndXATransaction.java:92) at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:682) at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2278) at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1479) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:98) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1189) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75) at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.afterDelivery(MessageEndpointInvocationHandler.java:72)[jboss-as-ejb3.jar:7.5.7.Final-redhat-3] at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)[:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497)[rt.jar:1.8.0_66] at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.handle(AbstractInvocationHandler.java:60)[jboss-as-ejb3.jar:7.5.7.Final-redhat-3] at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:136)[jboss-as-ejb3.jar:7.5.7.Final-redhat-3] at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)[jboss-as-ejb3.jar:7.5.7.Final-redhat-3] at com.sun.proxy.$Proxy94.afterDelivery(Unknown Source) at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:128) at org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:69) at org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:225) at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:1016)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169) at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:215) at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808) at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849) at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_66] at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: javax.transaction.xa.XAException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23fc95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4 at org.apache.activemq.transaction.XATransaction.newXAException(XATransaction.java:174) at org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:368) at org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:252) at org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:117) at org.apache.activemq.broker.TransportConnection.processCommitTransactionOnePhase(TransportConnection.java:498) at org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:100)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:334) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188) at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:248) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[activemq-client-5.10.0.jar:5.10.0] at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[activemq-client-5.10.0.jar:5.10.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_66] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_66]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.