Skip to main content

Warning messages when using JMS with transactions

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
ehardy2
Offline
Joined: 2013-04-03

Hi everyone,

I have a small Spring framework based webapp running in Glassfish 3.1.2.2 that makes use of a JMS queue. I have configured the ConnectionFactory to use XA transactions and configured the associated JMS listener in Spring to use the transacted acknowledge mode. The message listener receives the JMS messages just fine, but I keep seeing the following warning messages in the Glassfish logs:

WARNING|glassfish3.1.2|javax.jms.Session.mqjmsra|_ThreadID=537;_ThreadName=Thread-3;|MQJMSRA_DS4001: commit():Illegal for a non-transacted Session:sessionId=7629447213446668801

How can I get rid of these messages?

Thanks

Etienne