The moose likes EJB and other Java EE Technologies and the fly likes JMS Messages stuck in queue with status 'receive' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Messages stuck in queue with status Watch "JMS Messages stuck in queue with status New topic

JMS Messages stuck in queue with status 'receive'

Nilesh Nalawade

Joined: Mar 21, 2013
Posts: 1

Hi All,
I have an application which is deployed on WebLogic server. We have not used any third party JMS jars and its only that comes with WL server. All my queues have been configured to with parameters as 'Redelivery Delay Override: -1', 'Redelivery Limit: -1'

During testing of application, JMS messages are frequently getting stuck in the queue. Status of the message says 'receive' and the message is never consumed by the application code.

I am not sure why is this happening? Does it have anything to do with the Web Logic version that I am using?
All the times we needed to delete Filestore and recreate the message.

I have came across some article while hunting for the cause of issue. As per that article WL10.3 has this bug and a temporary fix would be as below:

"We need to define connection-factory-jndi-name” in “weblogic-ejb-jar.xml” along with setting MaximumMessages to 1 . This somehow makes this issue go away. After these changes the messages get allocated to a free consumer!!"

Can somebody please suggest what could be the real cause of issue and its solution?

Thanks and Regards,
It is sorta covered in the JavaRanch Style Guide.
subject: JMS Messages stuck in queue with status 'receive'
Similar Threads
javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server
JMS - rollback but no redelivery
Jboss | MDB| Messages nt consumed
MDB listening to external MQ in Glassfish
JMS message posting from websphere 6.1 to weblogic 10 application server