[wildfly-dev] jboss-cli / management interface broken?

Frank Langelage frank.langelage at osnanet.de
Thu Aug 28 19:29:46 EDT 2014


Mmmh, what's this?

New problem with WF 9 build from sources some minutes ago:

+ /mbi/tools/jboss/9.0/bin/jboss-cli.sh --controller=localhost:9990 
--connect --user=jboss --password=xxx --file=/mbi/etc/mail-session.cli
org.jboss.as.cli.CliInitializationException: Failed to connect to the 
controller
         at 
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:278)
         at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:235)
         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:606)
         at org.jboss.modules.Module.run(Module.java:312)
         at org.jboss.modules.Main.main(Main.java:460)
Caused by: org.jboss.as.cli.CommandLineException: Unable to authenticate 
against controller at localhost:9990
         at 
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1028)
         at 
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:846)
         at 
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:825)
         at 
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:276)
         ... 8 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)
         at 
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199)
         at 
org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
         at 
org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)
         at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)
         at ...asynchronous invocation...(Unknown Source)
         at 
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272)
         at 
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253)
         at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351)
         at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339)
         at 
org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:79)
         at 
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:110)
         at 
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
         at 
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)
         at 
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)
         at 
org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:169)
         at 
org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:129)
         at 
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
         at 
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
         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.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)
         at 
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1020)
         ... 11 more
org.jboss.as.cli.CliInitializationException: Failed to connect to the 
controller
         at 
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:278)
         at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:235)
         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:606)
         at org.jboss.modules.Module.run(Module.java:312)
         at org.jboss.modules.Main.main(Main.java:460)
Caused by: org.jboss.as.cli.CommandLineException: Unable to authenticate 
against controller at localhost:9990
         at 
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1028)
         at 
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:846)
         at 
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:825)
         at 
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:276)
         ... 8 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)
         at 
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199)
         at 
org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)
         at 
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
         at 
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
         at 
org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)
         at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)
         at ...asynchronous invocation...(Unknown Source)
         at 
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272)
         at 
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253)
         at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351)
         at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339)
         at 
org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:79)
         at 
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:110)
         at 
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
         at 
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)
         at 
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)
         at 
org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:169)
         at 
org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:129)
         at 
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
         at 
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
         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.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)
         at 
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1020)
         ... 11 more

User has been added before with:
$WILDFLY_HOME/bin/add-user.sh --user jboss --password xxx

Check
$JBOSS_HOME/bin/add-user.sh --user jboss --password xxx
Updated user 'jboss' to file 
'/mbi/tools/jboss/9.0/standalone/configuration/mgmt-users.properties'


29.08. 01:23:29,942 INFO  [org.jboss.as#logAdminConsole] WFLYSRV0060: 
Http management interface listening on http://0.0.0.0:9990/management
29.08. 01:23:29,950 INFO  [org.jboss.as#logAdminConsole] WFLYSRV0051: 
Admin console listening on http://0.0.0.0:9990

Starting web browser on localhost:9990 says:


      Your WildFly Application Server is running.

However you have not yet added any users to be able to access the admin 
console.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140829/343d1988/attachment-0001.html 


More information about the wildfly-dev mailing list