0 Replies Latest reply on Dec 13, 2001 6:01 PM by Jacob L E Blain Christen

    Automatic message acknowlegdement problems

    Jacob L E Blain Christen Newbie

      WinNT 4.0 / Win2k / RedHat Linux 7.1 (kernel-2.4.2)
      JDK version(s):
      1.3.0/1.3.1 for Windows and 1.3.0 for Linux
      JBoss version(s):
      Initially 2.4.3, but also with 3.0.0-alpha (see below)

      I've been having a problem with an application that I wrote (it basically treats a topic that it binds to as distributed event source/sink for a "shared canvas") which is this: multiple apps come up fine but after an indeterminant amount of time they stop receiving updates (I'm using the MessageListener interface here on a topic that I create at runtime through the JMX web interface) one by one. I ran into this initially with 2.4.3 and I was seeing no errors in the log file so I thought to give 3.0 a try and now I see these stack traces:

      at org.jboss.mq.AcknowledgementRequest.hashCode(AcknowledgementRequest.java:41)
      at java.util.HashMap.put(Unknown Source)
      at org.jboss.mq.server.BasicQueue.setupMessageAcknowledgement(BasicQueue.java:300)
      at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:175)
      at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:150)
      at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:171)
      at org.jboss.mq.server.JMSServer.receive(JMSServer.java:680)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:253)
      at java.lang.Thread.run(Unknown Source)

      Any thoughts?

      The App I wrote is very simple so if you think it would be beneficial I can jar it up and post it on my website--just ask.