javax.jms.JMSException: Session's XAResource has not been enlisted in a distributed transaction.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Eugene Prokopiev, 1 year ago
Session's XAResource has not been enlisted in a distributed transaction.
via Spring JIRA by Eugene Prokopiev, 1 year ago
Session's XAResource has not been enlisted in a distributed transaction.
via Google Groups by kashif gul, 3 months ago
Session's XAResource has not been enlisted in a distributed transaction.
via Google Groups by krv, 3 months ago
Session's XAResource has not been enlisted in a distributed transaction.
via Google Groups by Marie Claire Rizzo, 2 months ago
Session's XAResource has not been enlisted in a distributed transaction.
via Google Groups by chocheraz, 3 months ago
Session's XAResource has not been enlisted in a distributed transaction.
javax.jms.JMSException: Session's XAResource has not been enlisted in a distributed transaction.
at org.apache.activemq.ActiveMQXASession.doStartTransaction(ActiveMQXASession.java:109)
at org.apache.activemq.ActiveMQMessageConsumer.ackLater(ActiveMQMessageConsumer.java:658)
at org.apache.activemq.ActiveMQMessageConsumer.beforeMessageIsConsumed(ActiveMQMessageConsumer.java:610)
at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:469)
at org.springframework.jms.listener.DefaultMessageListenerContainer.receiveMessage(DefaultMessageListenerContainer.java:560)
at org.springframework.jms.listener.DefaultMessageListenerContainer.doReceiveAndExecute(DefaultMessageListenerContainer.java:505)
at org.springframework.jms.listener.DefaultMessageListenerContainer.receiveAndExecute(DefaultMessageListenerContainer.java:441)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:859)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.