0 Replies Latest reply on Mar 8, 2016 5:34 AM by Gianmario Gianmario

    HQ224000: Failure in initialisation: java.net.BindException: Address already in use: bind

    Gianmario Gianmario Newbie

      Hi,

      I'm experiencing a particular behavior when  WildFly 8.2.1 in cluster (Multicast / Messaging Replication) is stopping. Here the exception reported in the log file:

      2016-03-08 09:57:12,742 WARN  [org.hornetq.core.client] (Thread-12 (HornetQ-client-global-threads-1455170586)) HQ212037: Connection failure has been detected: HQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]

      2016-03-08 09:57:12,907 ERROR [org.hornetq.core.server] (HQ119000: Activation for server HornetQServerImpl::serverUUID=null) HQ224000: Failure in initialisation: java.net.BindException: Address already in use: bind

          at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_66]

          at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_66]

          at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_66]

          at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.8.0_66]

          at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.8.0_66]

          at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:102) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:479) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.DefaultChannelPipeline$HeadHandler.bind(DefaultChannelPipeline.java:1000) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.DefaultChannelHandlerContext.invokeBind(DefaultChannelHandlerContext.java:457) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.DefaultChannelHandlerContext.bind(DefaultChannelHandlerContext.java:442) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:842) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:194) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:338) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [netty-all-4.0.15.Final.jar:4.0.15.Final]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]

       

      Do you have any idea?

       

      Thank you.

       

      ciao,

      Gianmario