2 Replies Latest reply on Sep 30, 2005 10:17 AM by Brian Cordle

    How a Message Driven Bean to handle a JMS Exception

    sakaipb Newbie

      hi!

      it happened a JMS Exception:'org.jboss.mq.SpyJMSException:Could not pong' when a Message Driven Bean receive a jms message. is something wrong ?

      thx
      JoePeng

      JBoss sever log:

      Failed to handle: org.jboss.mq.il.uil2.msgs.PingMsg
      11:20:32,798 ERROR [SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.P
      ingMsg19401861[msgType: m_ping, msgID: -2147483628, error: null]
      org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.io.IOExc
      eption: Client is not connected)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.
      java:840)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterce
      ptorSupport.java:309)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:8
      59)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)
      at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocke
      tManagerHandler.java:189)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.j
      ava:355)
      at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
      utor.java:727)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.io.IOException: Client is not connected
      at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.
      java:225)
      at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:208)
      at org.jboss.mq.il.uil2.UILClientIL.pong(UILClientIL.java:67)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.
      java:836)
      ... 8 more