[jboss-jira] [JBoss JIRA] (WFCORE-3243) EAP7.0 slave host with ignore-unused-configuration=false throws NPE

Ken Wills (JIRA) issues at jboss.org
Wed Sep 6 17:23:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459893#comment-13459893 ] 

Ken Wills edited comment on WFCORE-3243 at 9/6/17 5:22 PM:
-----------------------------------------------------------

Another example in full, with the slave configured with ignore-unused-configuration="false" explicitly in host.xml:


{code}
[Host Controller] 15:14:33,257 WARN  [org.jboss.as.controller.transformer.eap70-host] (Host Controller Service Threads - 8) WFLYCTL0032: There were problems during the transformation process for target host: 'eap70-host' 
[Host Controller] Problems found: 
[Host Controller] [		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "default"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "ha"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "full"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "full-ha"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] ]
[Host Controller] 15:14:33,467 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 8) WFLYHC0019: Registered remote slave host "eap70-host", JBoss JBoss EAP 7.0.0.GA (WildFly 2.1.2.Final-redhat-1)
{code}


was (Author: luck3y):
Another example in full, with the slave configured with ignore-unused-configuration="false" explicitly in host.xml:

{{
[Host Controller] 15:14:33,257 WARN  [org.jboss.as.controller.transformer.eap70-host] (Host Controller Service Threads - 8) WFLYCTL0032: There were problems during the transformation process for target host: 'eap70-host' 
[Host Controller] Problems found: 
[Host Controller] [		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "default"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "ha"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "full"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] , 		WFLYCTL0303: Resource [
[Host Controller]     ("profile" => "full-ha"),
[Host Controller]     ("subsystem" => "undertow"),
[Host Controller]     ("server" => "default-server"),
[Host Controller]     ("host" => "default-host"),
[Host Controller]     ("setting" => "http-invoker")
[Host Controller] ] is rejected on the target host, and will need to be ignored on the host
[Host Controller] ]
[Host Controller] 15:14:33,467 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 8) WFLYHC0019: Registered remote slave host "eap70-host", JBoss JBoss EAP 7.0.0.GA (WildFly 2.1.2.Final-redhat-1)
}}

> EAP7.0 slave host with ignore-unused-configuration=false throws NPE
> -------------------------------------------------------------------
>
>                 Key: WFCORE-3243
>                 URL: https://issues.jboss.org/browse/WFCORE-3243
>             Project: WildFly Core
>          Issue Type: Bug
>            Reporter: Ken Wills
>
> When ignore-unused-configuration is set to false on the EAP7.0 slave and it is started and connects to a master version wildfly-core / wildfly, the below exception occurs on the slave. The slave does connect and appears to operate correctly otherwise.
> {code}
> [Host Controller] 15:41:44,863 ERROR [org.jboss.as.controller.management-operation] (Host Controller Service Threads - 2) WFLYCTL0013: Operation ("describe-model") failed - address: ([("profile" => "default")]): java.lang.NullPointerException
> [Host Controller] 	at org.jboss.as.domain.controller.operations.GenericModelDescribeOperationHandler.execute(GenericModelDescribeOperationHandler.java:144)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
> [Host Controller] 	at org.jboss.as.controller.ReadOnlyContext.executeOperation(ReadOnlyContext.java:83)
> [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.executeReadOnlyOperation(ModelControllerImpl.java:284)
> [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.executeReadOnlyOperation(ModelControllerImpl.java:267)
> [Host Controller] 	at org.jboss.as.controller.AbstractControllerService.executeReadOnlyOperation(AbstractControllerService.java:444)
> [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService.access$1500(DomainModelControllerService.java:179)
> [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.executeReadOnly(DomainModelControllerService.java:1269)
> [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.execute(SyncModelOperationHandler.java:135)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
> [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
> [Host Controller] 	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
> [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
> [Host Controller] 	at org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:408)
> [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService.access$900(DomainModelControllerService.java:179)
> [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1238)
> [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService.applyRemoteDomainModel(RemoteDomainConnectionService.java:572)
> [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService.access$1100(RemoteDomainConnectionService.java:131)
> [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService$2.applyDomainModel(RemoteDomainConnectionService.java:515)
> [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnection.applyDomainModel(RemoteDomainConnection.java:311)
> [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnection$RegisterSubsystemsRequest$1.execute(RemoteDomainConnection.java:454)
> [Host Controller] 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
> [Host Controller] 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
> [Host Controller] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [Host Controller] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [Host Controller] 	at java.lang.Thread.run(Thread.java:748)
> [Host Controller] 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> [Host Controller] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list