3 Replies Latest reply on Jul 4, 2013 10:52 AM by Andy Taylor

    JMS receivers getting disconnected frequently

    Prashant S Newbie

      I  am using hornetq 2.3.0, and getting the following exceptions frequently:

       

      [02 Jul 13 23:42:07] JMSReceiver ERROR - exception received on com.tribalfusion.jms.receiver.hornetq.HornetQQueueReceiver-queue/myQueue

      javax.jms.JMSException: HornetQException[errorType=INTERNAL_ERROR message=HQ119005: Exception in Netty transport]

      at org.hornetq.jms.client.HornetQConnection$JMSFailureListener.connectionFailed(HornetQConnection.java:703)

      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.callSessionFailureListeners(ClientSessionFactoryImpl.java:961)

      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:747)

      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:580)

      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connectionException(ClientSessionFactoryImpl.java:434)

      at org.hornetq.core.remoting.impl.netty.NettyConnector$Listener$2.run(NettyConnector.java:895)

      at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:106)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

      at java.lang.Thread.run(Thread.java:722)

      Caused by: HornetQException[errorType=INTERNAL_ERROR message=HQ119005: Exception in Netty transport]

      at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.exceptionCaught(HornetQChannelHandler.java:107)

      at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:130)

      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)

      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:787)

      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.exceptionCaught(SimpleChannelUpstreamHandler.java:153)

      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:112)

      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)

      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)

      at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:525)

      at org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:77)

      at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:51)

      at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)

      at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)

      at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:175)

      ... 3 more

      Caused by: java.net.SocketException: Connection reset

      at java.net.SocketInputStream.read(SocketInputStream.java:134)

      at java.net.SocketInputStream.read(SocketInputStream.java:121)

      at java.net.SocketInputStream.read(SocketInputStream.java:203)

      at java.io.FilterInputStream.read(FilterInputStream.java:83)

      at java.io.PushbackInputStream.read(PushbackInputStream.java:139)

      at org.jboss.netty.channel.socket.oio.OioWorker.process(OioWorker.java:64)

      at org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:73)

      at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:51)

      ... 4 more