Changing ConnectionFactory to java:/JmsXA solved the problem. Thank you very
much, you saved me a lot of time.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249378#4249378
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
If you want messaging and a database to work as part of the same JTA
transaction in a servlet, you should use the JMS JCA adapter (java:/JmsXA) in
the same way you might do it from an EJB.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249342#4249342
Reply
That didn't help. All the time I'm receiving NoResultException in MDB when
trying to retrieve numbers from database. It's like the data I've persisted are
not commited. This effect do not happen all the time. It happens from time to
time and in all cases for first or second message that is proce
Using XAQueueSession is the correct way. You need to use getXAResource() and
explicitly enlist the XAResource into your transaction.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249257#4249257
Reply to the post :
http://www.jboss.org/index.html?module=bb&