-
Feature Request
-
Resolution: Done
-
Major
-
7.0.0.Final, 7.0.1.Final
-
None
If you join in a remote host with the same name as the master (e.g. "master") it's really hard to see what went wrong. Everything boots OK but its impossible to manage. The console completely breaks (see screenshot) on the other controller.
The controller should check if it can connect with that name.
Adding error log if anyone is searching for the issue:
[Host Controller] 14:39:02,093 ERROR [org.jboss.as.controller] (pool-4-thread-3) Operation ("read-attribute") failed - address: ([ [Host Controller] ("host" => "master"), [Host Controller] ("server-config" => "undefined") [Host Controller] ]): java.util.NoSuchElementException: "server-config" => "undefined" [Host Controller] at org.jboss.as.controller.registry.BasicResource.requireChild(BasicResource.java:95) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.readModel(OperationContextImpl.java:697) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.host.controller.operations.ServerStatusHandler.execute(ServerStatusHandler.java:62) [jboss-as-host-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$ReadAttributeHandler.doExecute(GlobalOperationHandlers.java:378) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:828) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.OperationSlaveStepHandler.execute(OperationSlaveStepHandler.java:77) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.PrepareStepHandler.execute(PrepareStepHandler.java:85) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler$1.run(TransactionalModelControllerOperationHandler.java:111) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] [Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] [Host Controller] [Host Controller] 14:39:02,104 ERROR [org.jboss.as.controller] (pool-4-thread-4) Operation ("read-attribute") failed - address: ([ [Host Controller] ("host" => "master"), [Host Controller] ("server-config" => "undefined") [Host Controller] ]): java.util.NoSuchElementException: "server-config" => "undefined" [Host Controller] at org.jboss.as.controller.registry.BasicResource.requireChild(BasicResource.java:95) [Host Controller] at org.jboss.as.controller.OperationContextImpl.readModel(OperationContextImpl.java:697) [Host Controller] at org.jboss.as.host.controller.operations.ServerStatusHandler.execute(ServerStatusHandler.java:62) [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$ReadAttributeHandler.doExecute(GlobalOperationHandlers.java:378) [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:828) [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [Host Controller] at org.jboss.as.domain.controller.operations.coordination.OperationSlaveStepHandler.execute(OperationSlaveStepHandler.java:77) [Host Controller] at org.jboss.as.domain.controller.operations.coordination.PrepareStepHandler.execute(PrepareStepHandler.java:85) [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119) [Host Controller] at org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler$1.run(TransactionalModelControllerOperationHandler.java:111) [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] [Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] [Host Controller] [Host Controller] 14:39:03,924 ERROR [org.jboss.as.controller] (pool-4-thread-3) Operation ("read-children-names") failed - address: ([("host" => "master")]): java.lang.IllegalArgumentException [Host Controller] at org.jboss.dmr.ModelValue.getChild(ModelValue.java:108) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final] [Host Controller] at org.jboss.dmr.ModelNode.get(ModelNode.java:689) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.ServerOperationsResolverHandler.createOverallResult(ServerOperationsResolverHandler.java:130) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.ServerOperationsResolverHandler.execute(ServerOperationsResolverHandler.java:103) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$ReadChildrenNamesOperationHandler.execute(GlobalOperationHandlers.java:431) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.OperationSlaveStepHandler.execute(OperationSlaveStepHandler.java:77) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.PrepareStepHandler.execute(PrepareStepHandler.java:85) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler$1.run(TransactionalModelControllerOperationHandler.java:111) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] [Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] [Host Controller] [Host Controller] 14:39:04,368 ERROR [org.jboss.as.controller] (pool-4-thread-3) Operation ("read-children-names") failed - address: ([("host" => "master")]): java.lang.IllegalArgumentException [Host Controller] at org.jboss.dmr.ModelValue.getChild(ModelValue.java:108) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final] [Host Controller] at org.jboss.dmr.ModelNode.get(ModelNode.java:689) [jboss-dmr-1.0.0.Final.jar:1.0.0.Final] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.ServerOperationsResolverHandler.createOverallResult(ServerOperationsResolverHandler.java:130) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.ServerOperationsResolverHandler.execute(ServerOperationsResolverHandler.java:103) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.operations.global.GlobalOperationHandlers$ReadChildrenNamesOperationHandler.execute(GlobalOperationHandlers.java:431) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.OperationSlaveStepHandler.execute(OperationSlaveStepHandler.java:77) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.domain.controller.operations.coordination.PrepareStepHandler.execute(PrepareStepHandler.java:85) [jboss-as-domain-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:351) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at org.jboss.as.controller.remote.TransactionalModelControllerOperationHandler$ExecuteRequestHandler$1.run(TransactionalModelControllerOperationHandler.java:111) [jboss-as-controller-7.0.1.Final-redhat-1.jar:7.0.1.Final-redhat-1] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] [Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] [Host Controller] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] [Host Controller]
- is related to
-
AS7-2101 Make it impossible to register 2 slave HCs with the same name
- Resolved