We have an application that starts time consuming tasks by invoking an operation on a stateless session been (therefore acting as a message producer) which places those tasks in a message queue. Tasks are processed by a Message Driven Bean. When the system starts to be overloaded the messages accumulate in the message queue (visible in the JMX console) and from one point on are never delivered to the MDB.
Both the stateless session bean and the message driven bean are using bean managed transactions. Messages are send to the queue using a non-transacted queue session.
We are using JBoss 3.2.1 on Linux with Red Hat 9 and Java 1.4.2. The problem is also reproducible on Windows XP.
Do you have some idea where the problem could lie?