5 Replies Latest reply on Oct 16, 2012 2:26 AM by Rahul Bhagat

    How to deal with javax.jms.JMSException: Timed out waiting for response when sending packet 30?

    Yuri Batrakov Newbie



      I have JBoss 5.1.0.GA with HornetQ 2.2.5.Final, it runs on Linux with 16G RAM. I periodically have the following exception that's preventing clients from creating topic connections:

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

          at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:276)

          at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:695)

          at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:264)

          at org.hornetq.jms.client.HornetQConnection.authorize(HornetQConnection.java:589)

          at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:694)

          at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:145)

          at LoginConnection.createTopicConnection(BaseLoginConnection.java:413)

          ... 14 more

      Caused by: HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 30]

          ... 21 more


      Server's load is normal: not more than 10% CPU and 20% mem. Could someone advise which steps to perform to fix it?

      Some more information:

      1. Messages are ObjectMessages, persistent

      2. Persistency is disabled in hornetq-configuration

      3. DQL and expiry queues are disabled

      4. Paging is disabled, address-full policy is DROP

      5. There are approximately 15 topics created with 5 publishers and 5 subscribers per each


      My configuration is attached to this thread