2 Replies Latest reply on Apr 23, 2003 5:47 AM by Stephane Nicoll

    XA transaction error while consuming a message

    Stephane Nicoll Master

      I have a simple JMSQueue with some MDBs using message selector. I use postgres as JBossMQ Persistent Manager.

      Each time I have to consume the *last* message in the queue I got something like this:

      2003-03-27 09:52:39,160 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSException
      2003-03-27 09:52:39,161 ERROR [org.jboss.jms.asf.StdServerSession] failed to commit/rollback
      javax.transaction.xa.XAException
      at org.jboss.mq.SpyXAResource.commit(Unknown Source)
      at org.jboss.jms.asf.StdServerSession.onMessage(Unknown Source)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(Unknown Source)
      at org.jboss.mq.SpyMessageConsumer.addMessage(Unknown Source)
      at org.jboss.mq.SpySession.run(Unknown Source)
      at org.jboss.jms.asf.StdServerSession.run(Unknown Source)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
      at java.lang.Thread.run(Thread.java:479)

      Can somebody help?