8 Replies Latest reply on Sep 29, 2010 5:40 AM by frh10 ff

    Error:Failed to create netty connection

    frh10 ff Newbie

      Hi,

      I am running HornetQ2.1 on JBoss5.1.0.GA,i start jboss with all-with-hornetq without any change and want to test the clustering,but the other computer gets the error:"Failed to create netty connection",when i start jboss with all,it works well and clustering successful.How i solve this error?thanks!

       

      2010-09-27 23:22:59,563 ERROR [org.hornetq.core.remoting.impl.netty.NettyConnector] (Thread-0 (group:HornetQ-server-threads14766501-31607439)) Failed to create netty connection
      java.net.SocketTimeoutException: connect timed out
      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:519)
      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:541)
      at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:217)
      at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:227)
      at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:188)
      at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:447)
      at org.hornetq.core.client.impl.FailoverManagerImpl.getConnection(FailoverManagerImpl.java:953)
      at org.hornetq.core.client.impl.FailoverManagerImpl.getConnectionWithRetry(FailoverManagerImpl.java:834)
      at org.hornetq.core.client.impl.FailoverManagerImpl.createSession(FailoverManagerImpl.java:342)
      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:1123)
      at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:849)
      at org.hornetq.core.server.cluster.impl.BridgeImpl.createObjects(BridgeImpl.java:671)
      at org.hornetq.core.server.cluster.impl.BridgeImpl.access$800(BridgeImpl.java:71)
      at org.hornetq.core.server.cluster.impl.BridgeImpl$CreateObjectsRunnable.run(BridgeImpl.java:784)
      at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
      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)