0 Replies Latest reply on May 28, 2014 5:12 AM by adheep

    Getting java.nio.channels.UnresolvedAddressException while starting wildfly-8.1.0.CR2

    adheep

      Hi,

       

      I've migrated from JBoss 7.1 AS to Wildfly 8.1.0.CR2 for evaluation. I'm getting following exception in an infinite loop when I start the default Group "other-server-group" with "full-ha" profile and "full-ha-sockets"

       

      [Server:server-three] 14:30:21,674 ERROR [org.hornetq.core.client] (Thread-1 (HornetQ-server-HornetQServerImpl::serverUUID=73bcd14e-e646-11e3-84fe-3d720170f953-708120381)) HQ214016: Failed to create netty connection: java.nio.channels.UnresolvedAddressException
      [Server:server-three]   at sun.nio.ch.Net.checkAddress(Net.java:121) [rt.jar:1.8.0_05]
      [Server:server-three]   at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:617) [rt.jar:1.8.0_05]
      [Server:server-three]   at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:176) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:169) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelPipeline$HeadHandler.connect(DefaultChannelPipeline.java:1008) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelHandlerContext.invokeConnect(DefaultChannelHandlerContext.java:495) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelHandlerContext.connect(DefaultChannelHandlerContext.java:480) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelHandlerContext.invokeConnect(DefaultChannelHandlerContext.java:495) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelHandlerContext.connect(DefaultChannelHandlerContext.java:480) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelHandlerContext.connect(DefaultChannelHandlerContext.java:465) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:847) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:199) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:165) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [netty-all-4.0.15.Final.jar:4.0.15.Final]
      [Server:server-three]   at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
      

       

      I have a apache load balancer in "full-ha" profile and following is the configuration for it

      <subsystem xmlns="urn:jboss:domain:modcluster:1.2">
          <mod-cluster-config advertise-socket="modcluster"
              proxy-list="192.168.5.157:6666" balancer="other-server-group"
              connector="ajp">
              <dynamic-load-provider>
                  <load-metric type="cpu" />
              </dynamic-load-provider>
          </mod-cluster-config>
      </subsystem>