2 Replies Latest reply on Sep 1, 2010 6:54 AM by Tim Fox

    Failed to create netty connection

    Joydeep Sarkar Newbie

      Hi,

       

      I am running HornetQ2.0 on JBoss5.0.1. These configurations are running in six servers. Now all of a sudden all the servers are down with the same errors mentioned below.

      2010-08-31 09:23:54,072 ERROR [org.hornetq.integration.transports.netty.NettyConnector] (Thread-73 (group:HornetQ-client-global-threads-890611787)) Failed to create netty connection
      java.net.NoRouteToHostException: No route to host
              at java.net.PlainSocketImpl.socketConnect(Native Method)
              at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
              at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
              at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
              at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
              at java.net.Socket.connect(Socket.java:529)
              at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.connect(OioClientSocketPipelineSink.java:114)
              at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.eventSunk(OioClientSocketPipelineSink.java:74)
              at org.jboss.netty.channel.Channels.connect(Channels.java:784)
              at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:188)
              at org.jboss.netty.bootstrap.ClientBootstrap$Connector.channelOpen(ClientBootstrap.java:285)
              at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:190)
              at org.jboss.netty.channel.socket.oio.OioClientSocketChannel.<init>(OioClientSocketChannel.java:48)
              at org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory.newChannel(OioClientSocketChannelFactory.java:99)
              at org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory.newChannel(OioClientSocketChannelFactory.java:79)
              at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:228)
              at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:192)
              at org.hornetq.integration.transports.netty.NettyConnector.createConnection(NettyConnector.java:376)
              at org.hornetq.core.client.impl.FailoverManagerImpl.getConnection(FailoverManagerImpl.java:921)
              at org.hornetq.core.client.impl.FailoverManagerImpl.getConnectionWithRetry(FailoverManagerImpl.java:802)
              at org.hornetq.core.client.impl.FailoverManagerImpl.reconnectSessions(FailoverManagerImpl.java:758)
              at org.hornetq.core.client.impl.FailoverManagerImpl.failoverOrReconnect(FailoverManagerImpl.java:686)
              at org.hornetq.core.client.impl.FailoverManagerImpl.handleConnectionFailure(FailoverManagerImpl.java:548)
              at org.hornetq.core.client.impl.FailoverManagerImpl.access$600(FailoverManagerImpl.java:69)
              at org.hornetq.core.client.impl.FailoverManagerImpl$DelegatingFailureListener.connectionFailed(FailoverManagerImpl.java:1111)
              at org.hornetq.core.remoting.impl.RemotingConnectionImpl.callFailureListeners(RemotingConnectionImpl.java:445)
              at org.hornetq.core.remoting.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:250)
              at org.hornetq.core.client.impl.FailoverManagerImpl$PingRunnable$1.run(FailoverManagerImpl.java:1169)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:619)
      

       

      The servers are running with -Xms256m -Xmx2048m.

      Does anyone have any idea what could be the reason?

       

      TIA,

      Joydeep