[jboss-jira] [JBoss JIRA] (WFCORE-3897) Host starts with server assigned to non-existent server group

Brian Stansberry (JIRA) issues at jboss.org
Mon Jun 4 07:37:00 EDT 2018


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

Brian Stansberry commented on WFCORE-3897:
------------------------------------------

Re: stageCompleted(), even though the block you mentioned is skipped, there is still a lot of capability validation that happens in validateCapabilities().

I haven't followed this all the way through so I may be completely wrong, but perhaps simply switching the two lines here will fix this:

https://github.com/wildfly/wildfly-core/blob/master/host-controller/src/main/java/org/jboss/as/host/controller/DomainModelControllerService.java#L781

Actually, probably better is add a line before L781:

domainModelComplete.set(true);

That's better than switching the lines as it still results in domainModelComplete.set(false) if 'ok' ends up 'false'.



> Host starts with server assigned to non-existent server group
> -------------------------------------------------------------
>
>                 Key: WFCORE-3897
>                 URL: https://issues.jboss.org/browse/WFCORE-3897
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 5.0.0.CR1
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>
> Configuring a host with:
>  <server name="server-one" group="main-server-group" auto-start="false"/>
>         <server name="server-two" group="main-server-group" auto-start="false">
>             <socket-bindings port-offset="150"/>
>         </server>
> And no server-goup with that name in the domain.xml, the host starts and all management operations fail.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list