JMS Request/Reply Example Needed
843830Jul 14 2008 — edited Aug 3 2010Hello All,
I have been trying to get a transactional JMS request/reply setup to work ( [http://blogs.sun.com/fkieviet/entry/request_reply_from_an_ejb] ) but have been having no luck (Glassfish V2U2).
My latest attempt was to delegate the request/reply code from my onMessage method to a bean managed transaction stateless session bean as in the above mentioned blog. Unfortunately I get the following error:
commitTransaction (XA) on JMSService:jmsdirect failed for connectionId:6701949038085421568 and onePhase:true due to TxID is already in use.
JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0 completed: Maybe] on Resource [commit one phase] operation.
Does anyone know what I am doing wrong? Or does any one have a working example of JMS Request/Reply code that I can see?
My previous attempts can be seen in this post: [http://forum.java.sun.com/thread.jspa?threadID=5313325]
Best wishes,
Dan