3 Replies Latest reply on Nov 16, 2002 5:35 AM by adrian.brock

    MDB stops processing messages

    cschenfeldt

      I'm doing some stress testing on a MDB. I attempt to run 2500 messages through it. Most times (not all), about half of the messages will be processed, then no more. The JBoss instance is still running fine - it responds to other requests, and debug reveals nothing out of the ordinary. Stopping then starting the queue doesn't change anything.

      If I stop and restart JBoss, it will pick up the remaining messages in the queue and process them.

      I'm running under JBoss 2.4.8, and have tried all three message persistance types (file, rollingfile, and jdbc) with the same results.

      Can anybody help me resolve this problem please?

        • 1. Re: MDB stops processing messages
          cschenfeldt

          One more 'clue':

          Any messages that are in the middle of being processed product the following error:

          [WARN,TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=WKS-27LBR11//710, BranchQual=] timed out. status=STATUS_ACTIVE

          These messages don't rollback the MDB's transaction, as they should - the message goes away.

          • 2. Re: MDB stops processing messages
            yosarian1

            I'm experiencing the same problem with JBoss 3.0.3 and MQSeries 5.0. One more thing, there is always one (or more) messages that has some kind of "opened" flag. I can't delete these messages from the queue while Queue explorere says "Object is opened".

            • 3. Re: MDB stops processing messages

              This sounds like a deadlock in the server.

              If you are using windows, press ctrl-break to get
              a thread dump. On unix locate the PID for jboss and
              use the command
              kill -s sigquit PID

              Post the output as a bug report at
              www.sf.net/projects/jboss
              along with other useful information such as
              deployment descriptors and messaging config.

              Regards,
              Adrian