I don't have this problem using JMS and posting to a Topic but when I use JMS posting to a Queue I get this. I have tried connection.createQueueSession( false, Session.AUTO_ACKNOWLEDGE); and connection.createQueueSession( true , Session.AUTO_ACKNOWLEDGE); and do a manual session.commit(); but doesn't seem to make any difference. Is this a bug in jboss-3.2.0beta or am I still doing something wrong.
16:50:32,343 ERROR [StdServerSession] failed to commit/rollback
javax.transaction.xa.XAException
at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:105)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:292)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:601)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:415)
at org.jboss.mq.SpySession.run(SpySession.java:293)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
at java.lang.Thread.run(Thread.java:536)
Try beta2,
it is actually just a configuration problem.
The sql is wrong for MARK_MESSAGE and you need
"track by connection" for jbossmq/jmsxa
I think there are other posts in this forum
explaining it in more detail?
Regards,
Adrian