0 Replies Latest reply on Aug 18, 2002 7:51 PM by Paul

    MDB stops receiving messages when using MQ Series

    Paul Newbie


      Has anyone solved the problem (described in http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ where MDBs stop receiving messages when there is a large number of messages already on the queue.

      I have noticed that often (but not always) the below exception is thrown when it pauses:

      2002-05-08 14:29:00,028 ERROR [STDERR] java.lang.NullPointerException
      2002-05-08 14:29:00,028 ERROR [STDERR] at com.ibm.mq.jms.MQSession.run(MQSession.java:980)
      2002-05-08 14:29:00,028 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:175)
      2002-05-08 14:29:00,028 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
      2002-05-08 14:29:00,028 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)

      I have also noticed that when I increase the max size of the <container-invoker-conf> then more messages can be read before pausing.

      I am having this problem with both JBoss 2.4.4 and 3.0.1.

      Hope someone out there can help.