Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11594

Servers in a domain won't boot if local auth is disabled on the host controller (legacy security)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.ER3
    • None
    • Management, Security
    • None
    • Not Required
    • Hide

      Remove local authentication from the host:

      /host=master/core-service=management/security-realm=ManagementRealm/authentication=local:remove
      

      Then boot/reboot domain.

      Show
      Remove local authentication from the host: /host=master/core-service=management/security-realm=ManagementRealm/authentication=local:remove Then boot/reboot domain.

      If local authentication has been disabled on the host controller servers cannot communicate with the host controller and fail to start.

      [Server:server-one] 15:10:51,241 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 2) MSC000001: Failed to start service jboss.server-boot-operations: org.jboss.msc.service.StartException in service jboss.server-boot-operations: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://127.0.0.1:9990. The connection failed
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:72)
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [Server:server-one] 	at java.lang.Thread.run(Thread.java:748)
      [Server:server-one] 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      [Server:server-one] Caused by: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://127.0.0.1:9990. The connection failed
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:126)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:259)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.HostControllerConnection.openConnection(HostControllerConnection.java:128)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.HostControllerClient.resolveBootUpdates(HostControllerClient.java:110)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:68)
      [Server:server-one] 	... 4 more
      [Server:server-one] Caused by: javax.security.sasl.SaslException: Authentication failed: none of the mechanisms presented by the server (DIGEST-MD5) are supported
      [Server:server-one] 	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:438)
      [Server:server-one] 	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:246)
      [Server:server-one] 	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      [Server:server-one] 	at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      [Server:server-one] 	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      [Server:server-one] 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:571)
      [Server:server-one] 	at ...asynchronous invocation...(Unknown Source)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:545)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:509)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:497)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:194)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:118)
      [Server:server-one] 	... 9 more
      [Server:server-one] 
      [Server:server-one] 15:10:51,241 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: java.util.concurrent.ExecutionException: Operation failed
      [Server:server-one] 	at org.jboss.as.server.ServerStartTask$2$1.load(ServerStartTask.java:188)
      [Server:server-one] 	at org.jboss.as.server.ServerService.boot(ServerService.java:387)
      [Server:server-one] 	at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370)
      [Server:server-one] 	at java.lang.Thread.run(Thread.java:748)
      [Server:server-one] Caused by: java.util.concurrent.ExecutionException: Operation failed
      [Server:server-one] 	at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
      [Server:server-one] 	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$2.get(ServerBootOperationsService.java:113)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$2.get(ServerBootOperationsService.java:95)
      [Server:server-one] 	at org.jboss.as.server.ServerStartTask$2$1.load(ServerStartTask.java:185)
      [Server:server-one] 	... 3 more
      [Server:server-one] Caused by: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://127.0.0.1:9990. The connection failed
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:126)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:259)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.HostControllerConnection.openConnection(HostControllerConnection.java:128)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.HostControllerClient.resolveBootUpdates(HostControllerClient.java:110)
      [Server:server-one] 	at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:68)
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [Server:server-one] 	at java.lang.Thread.run(Thread.java:748)
      [Server:server-one] 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      [Server:server-one] Caused by: javax.security.sasl.SaslException: Authentication failed: none of the mechanisms presented by the server (DIGEST-MD5) are supported
      [Server:server-one] 	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:438)
      [Server:server-one] 	at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:246)
      [Server:server-one] 	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      [Server:server-one] 	at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      [Server:server-one] 	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      [Server:server-one] 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:571)
      [Server:server-one] 	at ...asynchronous invocation...(Unknown Source)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:545)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:509)
      [Server:server-one] 	at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:497)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:194)
      [Server:server-one] 	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:118)
      [Server:server-one] 	... 9 more
      [Server:server-one] 
      [Server:server-one] 15:10:51,243 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      [Server:server-one] 15:10:51,254 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0050: WildFly Core 3.0.0.Beta27-SNAPSHOT "Kenny" stopped in 6ms
      

              kwills@redhat.com Ken Wills
              jperkins-rhn James Perkins
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: