2 Replies Latest reply on Mar 6, 2017 10:15 AM by jekoyemi funminiyi

    JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed

    valsaraj viswanathan Master

      Hi,

       

      I have setup the following to test cluster nodes in domain node.

       

      JBoss instance 1:

      contains domain controller and one server (node-00) in a group named group1

       

      JBoss instance 2:

      one server (node-10) in a group named group2 started with offset 200. This is pointed to domain controller on JBoss instance 1.

       

      Both instances are running on my local machine.

       

      I started JBoss instance 1 without error and deployed a distributable EAR.

      Then I started JBoss instance 2 and saw the following error in log and the server on JBoss instance 2 not started.

       

      host-controller.log:

      INFO  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS016582: Connected to master host controller at remote://127.0.0.1:9999

      INFO  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010922: Starting server node-10

      INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) JBAS010926: Unregistering server node-10

       

      server.log of node-10:

      ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 1) MSC000001: Failed to start service jboss.server-boot-operations: org.jboss.msc.service.StartException in service jboss.server-boot-operations: java.net.ConnectException: JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed

        at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:72) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]

        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

      Caused by: java.net.ConnectException: JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed

        at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:117) [wildfly-protocol-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [wildfly-protocol-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [wildfly-protocol-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.mgmt.domain.HostControllerConnection.openConnection(HostControllerConnection.java:116) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.mgmt.domain.HostControllerClient.resolveBootUpdates(HostControllerClient.java:87) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:68) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

        ... 4 more

      Caused by: javax.security.sasl.SaslException: Authentication failed: the server presented no authentication mechanisms

        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:388) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.3.0.Final.jar:3.3.0.Final]

        at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)

        at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)

        at ...asynchronous invocation...(Unknown Source)

        at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339) [jboss-remoting-4.0.6.Final.jar:4.0.6.Final]

        at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:78) [wildfly-protocol-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:109) [wildfly-protocol-8.2.0.Final.jar:8.2.0.Final]

        ... 9 more

       

      What may be wrong?

       

      Thanks!