org.jboss.as.cli.CliInitializationException: Failed to connect to the controller

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via https://bugzilla.redhat.com/bugzilla/ by Jiri Belka, 1 year ago
via GitHub by wildfly-ci
, 1 year ago
Failed to connect to the controller
via GitHub by wildfly-ci
, 1 year ago
Failed to connect to the controller
via GitHub by wildfly-ci
, 1 year ago
Failed to connect to the controller
via GitHub by wildfly-ci
, 1 year ago
Failed to connect to the controller
org.jboss.as.cli.CliInitializationException: Failed to connect to the controller
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.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:162)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115)
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)
at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:945)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:806)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:778)
at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:289)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:269)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 11 months ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.