1 2 Previous Next 15 Replies Latest reply on Oct 16, 2012 2:24 AM by rahulbhagat

    javax.jms.JMSException: Timed out waiting for response when sending packet

    jbmuser

      Hi,

       

      I am getting the below Exception after a couple of hours of running our application using HornetQ 2.0.0.GA.

       

      2010-03-24 20:38:50,541 ERROR [_Rmx5VFhUUGFja2FnZQ._Y29tbW9ucw._Y29tbW9ucw_flybs.au] Failed to send Notification!.
      javax.jms.JMSException: Timed out waiting for response when sending packet 71
              at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:270)
              at org.hornetq.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:269)
              at org.hornetq.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:139)
              at org.hornetq.jms.client.HornetQMessageProducer.doSend(HornetQMessageProducer.java:455)
              at org.hornetq.jms.client.HornetQMessageProducer.send(HornetQMessageProducer.java:208)
              at _Rmx5VFhUUGFja2FnZQ._Y29tbW9ucw._Y29tbW9ucw_flybs.au.a(FlytxtSource:59)
              at com.flytxt.settings.comms.d.a(FlytxtSource:97)
              at com.flytxt.settings.comms.c.c(FlytxtSource:242)
              at com.flytxt.settings.comms.c.a(FlytxtSource:195)
              at com.flytxt.settings.comms.c.run(FlytxtSource:127)
      Caused by: HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 71]
              ... 10 more

       


      Almost at the same time (40 seconds before to be precise), JMS server log shows connection failure warning as given below

       

      [hornetq-failure-check-thread] 20:38:06,531 WARNING [org.hornetq.core.remoting.impl.RemotingConnectionImpl]  Connection failure has been detected: Did not receive ping from /10.16.189.37:52532. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. The connection will now be closed. [code=3]
      [hornetq-failure-check-thread] 20:38:06,535 WARNING [org.hornetq.core.server.impl.ServerSessionImpl]  Client connection failed, clearing up resources for session 03ac821e-3751-11df-8392-d9442de92bd4
      [hornetq-failure-check-thread] 20:38:06,535 WARNING [org.hornetq.core.server.impl.ServerSessionImpl]  Cleared up resources for session 03ac821e-3751-11df-8392-d9442de92bd4

       


      This issue looks similar to the one mentioned in below topics/JIRA tickets and as per the JIRA status, they are all fixed in earlier versions but I am getting this in latest 2.0.0.GA version

       

      https://jira.jboss.org/jira/browse/HORNETQ-8
      https://jira.jboss.org/jira/browse/HORNETQ-253
      https://jira.jboss.org/jira/browse/HORNETQ-4
      http://community.jboss.org/message/258662#258662
      http://community.jboss.org/message/443032#443032

       


      I have attached my server configuration files and run.sh for reference. And btw, my server and client are in two different zones of same physical solaris machine. So there is no network overhead as well.


      Any help/advice would be greatly appreciated

       

      Bijith

        1 2 Previous Next