<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Here's the solution:<br>
from running the testsuite there still was a running instance
listening on localhost:9990.<br>
But I can start my instance which uses bind-address 0.0.0.0
without problems in parallel.<br>
<br>
Then we have two listeners on the same port, but different hosts:<br>
127.0.0.1.9990 *.* 0 0 49152
0 LISTEN<br>
*.9990 *.* 0 0 49152
0 LISTEN<br>
<br>
The mgmt user was added to my instance.<br>
<br>
But accessing localhost:9990 via browser or cli connects to the
testsuite instance where this user is not known.<br>
<br>
This exception and stacktrace is irritating.<br>
A message like "Username not known or wrongs passwort" would be
more helpful in my eyes.<br>
<br>
Regards, Frank<br>
<br>
<br>
On 29.08.14 01:29, Frank Langelage wrote:<br>
</div>
<blockquote cite="mid:53FFBB6A.7040600@osnanet.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Mmmh, what's this?<br>
<br>
New problem with WF 9 build from sources some minutes ago:<br>
<br>
+ /mbi/tools/jboss/9.0/bin/jboss-cli.sh
--controller=localhost:9990 --connect --user=jboss --password=xxx
--file=/mbi/etc/mail-session.cli<br>
org.jboss.as.cli.CliInitializationException: Failed to connect to
the controller<br>
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:278)<br>
at
org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:235)<br>
at
org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:606)<br>
at org.jboss.modules.Module.run(Module.java:312)<br>
at org.jboss.modules.Main.main(Main.java:460)<br>
Caused by: org.jboss.as.cli.CommandLineException: Unable to
authenticate against controller at localhost:9990<br>
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1028)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:846)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:825)<br>
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:276)<br>
... 8 more<br>
Caused by: javax.security.sasl.SaslException: Authentication
failed: the server presented no authentication mechanisms<br>
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:388)<br>
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199)<br>
at
org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)<br>
at
org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)<br>
at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)<br>
at ...asynchronous invocation...(Unknown Source)<br>
at
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272)<br>
at
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253)<br>
at
org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351)<br>
at
org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339)<br>
at
org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:79)<br>
at
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:110)<br>
at
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)<br>
at
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)<br>
at
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)<br>
at
org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:169)<br>
at
org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:129)<br>
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)<br>
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1020)<br>
... 11 more<br>
org.jboss.as.cli.CliInitializationException: Failed to connect to
the controller<br>
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:278)<br>
at
org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:235)<br>
at
org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:606)<br>
at org.jboss.modules.Module.run(Module.java:312)<br>
at org.jboss.modules.Main.main(Main.java:460)<br>
Caused by: org.jboss.as.cli.CommandLineException: Unable to
authenticate against controller at localhost:9990<br>
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1028)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:846)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:825)<br>
at
org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:276)<br>
... 8 more<br>
Caused by: javax.security.sasl.SaslException: Authentication
failed: the server presented no authentication mechanisms<br>
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:388)<br>
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199)<br>
at
org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)<br>
at
org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)<br>
at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)<br>
at ...asynchronous invocation...(Unknown Source)<br>
at
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272)<br>
at
org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253)<br>
at
org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351)<br>
at
org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339)<br>
at
org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:79)<br>
at
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:110)<br>
at
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)<br>
at
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)<br>
at
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)<br>
at
org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:169)<br>
at
org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:129)<br>
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)<br>
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)<br>
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)<br>
at
org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1020)<br>
... 11 more<br>
<br>
User has been added before with:<br>
$WILDFLY_HOME/bin/add-user.sh --user jboss --password xxx<br>
<br>
Check<br>
$JBOSS_HOME/bin/add-user.sh --user jboss --password xxx<br>
Updated user 'jboss' to file
'/mbi/tools/jboss/9.0/standalone/configuration/mgmt-users.properties'<br>
<br>
<br>
29.08. 01:23:29,942 INFO [org.jboss.as#logAdminConsole]
WFLYSRV0060: Http management interface listening on <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://0.0.0.0:9990/management">http://0.0.0.0:9990/management</a><br>
29.08. 01:23:29,950 INFO [org.jboss.as#logAdminConsole]
WFLYSRV0051: Admin console listening on <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://0.0.0.0:9990">http://0.0.0.0:9990</a><br>
<br>
Starting web browser on localhost:9990 says:<br>
<h3>Your WildFly Application Server is running.</h3>
However you have not yet added any users to be able to access the
admin console.<br>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></pre>
</blockquote>
<br>
</body>
</html>