javax.jms.JMSException

Not supported in XA-backed session outside global transaction

Solutions on the web509

  • Not supported in XA-backed session outside global transaction
  • via Coderanch by Meet Gaurav, 8 months ago
    [JMSPool:169812]The pooled JMS session is enlisted in another transaction and may not be used elsewhere The exception is : javax.jms.JMSException: [JMSPool:169812]The pooled JMS session is enlisted in another transaction and may not be used elsewhere
  • [J2EE:160055]Unable to use a wrapped JMS session in the transaction because two-phase commit is not available
  • Stack trace

    • javax.jms.JMSException: Not supported in XA-backed session outside global transaction at oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:525) at oracle.j2ee.ra.jms.generic.RAUtils.toJMSException(RAUtils.java:199) at oracle.j2ee.ra.jms.generic.RAUtils.toJMSException(RAUtils.java:210) at oracle.j2ee.ra.jms.generic.CommonProducerWrapper.prepareForSend(CommonProducerWrapper.java:350) at oracle.j2ee.ra.jms.generic.CommonProducerWrapper.send(CommonProducerWrapper.java:159)

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.