[wildfly-dev] Failed to connect to the controller / Remote connection failed
Frank Langelage
frank.langelage at osnanet.de
Thu May 16 18:30:51 EDT 2013
As of today I see a new error using jboss-cli.sh. I'm using current
sources of wildfly from github. I use a port offset of 700, so I have
19:07:22,004 INFO [org.jboss.as#logAdminConsole] JBAS015961: Http
management interface listening on http://0.0.0.0:10690/management
19:07:22,006 INFO [org.jboss.as#logAdminConsole] JBAS015951: Admin
console listening on http://0.0.0.0:10690
But when calling
$JBOSS_HOME/bin/jboss-cli.sh --controller=localhost:10699 --connect
I get
Stacktrace:
org.jboss.as.cli.CliInitializationException: Failed to connect to the
controller
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:290)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:250)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:411)
Caused by: org.jboss.as.cli.CommandLineException: The controller is not
available at localhost:10699
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:966)
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:805)
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:777)
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:288)
... 8 more
Caused by: java.io.IOException: java.net.ConnectException: JBAS012144:
Could not connect to http-remoting://localhost:10699. The connection
timed out
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:944)
... 11 more
Caused by: java.net.ConnectException: JBAS012144: Could not connect to
http-remoting://localhost:10699. The connection timed out
at
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:131)
at
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256)
at
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
at
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:176)
at
org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:161)
at
org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:123)
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115)
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:90)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)
... 13 more
on client side and
00:27:52,155 ERROR
[org.jboss.remoting.remote.connection#handleException] JBREM000200:
Remote connection failed: java.io.IOException: Received an invalid
message length of 1195725856
in server.log
More information about the wildfly-dev
mailing list