Skip to main content

Warning messages when using JMS with transactions

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-04-03

Hi everyone,

I have a small Spring framework based webapp running in Glassfish 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?