11 Replies Latest reply on Mar 13, 2014 6:19 PM by juliaprince

    MDB Stops processing messages

    karthik

      All of a sudden the Message Driven Bean stops processing messages. We have to do a stopDelivery() and startDelivery() on the MDB to restart processing. Also, the stopDelivery() hangs and the message at the top of the queue, when it stopped processing, will not get processed till JBoss is restarted.

      We have around 10+ MDB's and when this happens the other MDB's continue processing as normal. ie. A MDB (can be any of the 10+), can be affected with no impact on the others.

      We are using
      Release ID: JBoss [WonderLand] 3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)
      with File Persistence Manager in default config (attached).

      I suspect it may be due to misconfiguration/error in CacheStore. Any help will be appreciated.

      [CONFIG---file-pm-service.xml]

      <?xml version="1.0" encoding="UTF-8"?>
      <server>
       <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
       <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
       <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
       </mbean>
       <mbean code="org.jboss.mq.server.MessageCache"
       name="jboss.mq:service=MessageCache">
       <attribute name="HighMemoryMark">50</attribute>
       <attribute name="MaxMemoryMark">60</attribute>
       <depends optional-attribute-name="CacheStore">jboss.mq:service=CacheStore</depends>
       </mbean>
       <mbean code="org.jboss.mq.pm.file.CacheStore"
       name="jboss.mq:service=CacheStore">
       <attribute name="DataDirectory">tmp/jbossmq</attribute>
       </mbean>
       <mbean code="org.jboss.mq.pm.file.PersistenceManager"
       name="jboss.mq:service=PersistenceManager">
       <attribute name="DataDirectory">data/jbossmq/file</attribute>
       <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
       </mbean>
      </server>

      [END CONFIG---file-pm-service.xml]