javax.jms.JMSException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23f c95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4

Stack Overflow | PurplePanda | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MessageDrivenBean consuming JMS message twice

    Stack Overflow | 7 months ago | PurplePanda
    javax.jms.JMSException: Transaction 'XID:[131077,globalId=0:ffff0a48263f:-669b4574:57e296f4:23f c95,branchId=0:ffff0a48263f:-669b4574:57e296f4:23fc96]' has not been started. xaErrorCode:-4
  2. 0

    ActiveMQ - User - Transaction not started XA problems

    nabble.com | 11 months ago
    javax.transaction.xa.XAException: Transaction > 'XID:1096044365:3139322e3136382e302e31372e746d30303437373030303031:3139322e3136382e302e31372e746d343737' > has not been started. >        at > org.apache.activemq.TransactionContext.toXAException(TransactionContext.java:732) >        at > org.apache.activemq.TransactionContext.rollback(TransactionContext.java:497) >        at > com.atomikos.datasource.xa.XAResourceTransaction.rollback(XAResourceTransaction.java:690) >        at com.atomikos.icatch.imp.RollbackMessage.send(RollbackMessage.java:72) >        at > com.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:111) >        at > com.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:87) >        at > com.atomikos.icatch.imp.Propagator.submitPropagationMessage(Propagator.java:66) >        at > com.atomikos.icatch.imp.CoordinatorStateHandler.rollback(CoordinatorStateHandler.java:746) >        at > com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:218) >        at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:832) >        at > com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:1159) >        at > com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:92) >        at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:236)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. ActiveMQ :: Broker
      TransportConnection.processCommitTransactionOnePhase
      1. org.apache.activemq.transaction.XATransaction.newXAException(XATransaction.java:174)
      2. org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:368)
      3. org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:252)
      4. org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:117)
      5. org.apache.activemq.broker.TransportConnection.processCommitTransactionOnePhase(TransportConnection.java:498)
      5 frames
    3. ActiveMQ :: Core
      TransactionInfo.visit
      1. org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:100)[activemq-client-5.10.0.jar:5.10.0]
      1 frame
    4. ActiveMQ :: Broker
      TransportConnection$1.onCommand
      1. org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:334)
      2. org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
      2 frames
    5. AMQ HTTP
      MutexTransport.onCommand
      1. org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[activemq-client-5.10.0.jar:5.10.0]
      2. org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.0.jar:5.10.0]
      2 frames
    6. ActiveMQ :: Broker
      VMTransport.iterate
      1. org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:248)
      1 frame
    7. ActiveMQ :: Core
      PooledTaskRunner$1.run
      1. org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[activemq-client-5.10.0.jar:5.10.0]
      2. org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[activemq-client-5.10.0.jar:5.10.0]
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_66]
      3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_66]
      3 frames