3 Replies Latest reply on Jun 13, 2003 5:25 PM by john

    Lost message acknowledgement - client hangs

    Scott Czadzeck Newbie

      Experiencing a problem where a client initiated message acknowledgement appears to be incomplete. As a result the client sits in SocketRead indefinitely. Here's the thread dump:

      "MessageListenerThread - EJBChanges" prio=5 tid=0x00A2B7A8 nid=0x2660 runnable [
      1749f000..1749fd8c]
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      - locked <03EDF598> (a java.io.BufferedInputStream)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
      :2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object
      InputStream.java:2316)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre
      am.java:2383)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream
      .java:2455)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt
      ream.java:2604)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:601)
      at org.jboss.mq.il.oil.OILServerIL.acknowledge(OILServerIL.java:203)
      - locked <03EE7B10> (a org.jboss.mq.il.oil.OILServerIL)
      at org.jboss.mq.Connection.send(Connection.java:896)
      at org.jboss.mq.SpySession.doAcknowledge(SpySession.java:601)
      - locked <03EE67E0> (a java.util.ArrayList)
      at org.jboss.mq.SpyMessage.doAcknowledge(SpyMessage.java:537)
      at org.jboss.mq.SpyMessage.acknowledge(SpyMessage.java:462)
      at com.valinsoft.plannine.dataaccess.JMSChangeNotifier$1.onMessage(JMSCh
      angeNotifier.java:427)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:553)
      at java.lang.Thread.run(Thread.java:536)

      I'm at my wits end with this since I've be chasing it for days. I'm dead in the water if I can't solve this problem. Any help will be greatly appreciated.

      Regards,
      Scott Czadzeck