3 Replies Latest reply on Nov 3, 2004 2:57 PM by pcross616

    JBoss messages not consuming

    dmorris1238

      We are using JBoss 3.2.2. We have an instance where we suspect a bad message object is NOT being consumed on the receiver end. When the receiver tries to 'consume' the bad message object, the message object is NEVER removed from the queue. This causes the queue size to increase but never go down past the point of where the bad message object exists. Is there a solution in JBoss to 'throw out' one object in the queue instead of clearing all messages in the queue?

      Thanks in advance!

        • 1. Re: JBoss messages not consuming
          genman


          Can you reproduce on the latest in the 3.2 branch?

          • 2. Re: JBoss messages not consuming
            dmorris1238

            We solved this issue with 3.2.2. We are using MS-SQL as the JMS DB.

            The following steps resolved the issue:

            1. Through MS SQL Enterprise Manager, list all messages in order, and delete the 1st message.
            2. Restart the JMS server.
            3. Restart the message consumer (receiver).

            Thanks!

            • 3. Re: JBoss messages not consuming

              I am running 3.2.5 with postgres as the datastore for the JMS bus. And I am seeing the samething with on difference. To make the consumers to start running again all I have to do is restart the JBoss instance that the consumer is running in. This also seems to only happen under heavy load. I there a way to prevent this from happening? I cannot restart the app everytime it thinks it does not have anymore messages to process.

              Thanks!

              -Pete