1 Reply Latest reply on Oct 11, 2011 6:17 AM by Shankar Prasad Jha

    JBOSS AS 7 domain controller proper setup?

    Wendell Hatcher Newbie

      What is the proper setup for a domain controller and host connection besides pointing toward the domain controllters ip? my host points to my domain fine and makes a connection but the domain controller seems to lose its server names in the admin control gui intereface when the host connects. When I disconnect and make the host its own domain everything works fine in the gui admin interface for both servers.

       

      I ask because I have 5 server instances on my domain controller.

      server-1 domain:

      server-group names:

      main

      cluster

      other

       

      server-2 host points to domain ip 192.168.X.X

      server-group

      main

      other

       

       

       

      Error inside of my server 2 logs.

       

       

      [Host Controller] 10:53:18,500 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)

      [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] 10:53:18,504 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]