[jboss-jira] [JBoss JIRA] (WFLY-10188) Setting Undertow default server needs validation of provided server to avoid broken Wildfly configuration

James Perkins (Jira) issues at jboss.org
Fri May 31 13:20:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-10188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned WFLY-10188:
------------------------------------

    Assignee: Flavia Rainone  (was: Stuart Douglas)


> Setting Undertow default server needs validation of provided server to avoid broken Wildfly configuration
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-10188
>                 URL: https://issues.jboss.org/browse/WFLY-10188
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 14.0.1.Final, 12.0.0.Final, 13.0.0.Final
>            Reporter: Pavel Jelinek
>            Assignee: Flavia Rainone
>            Priority: Critical
>
> Undertow server needs default-host to be set to be able to be used as Undertow subsystem default-server otherwise Wildfly would not start due to:
> {code}
> ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=undertow' are not available:
>     org.wildfly.undertow.host.test-server.default-host; Possible registration points for this capability: 
> 		/subsystem=undertow/server=*/host=*
> {code}
> This is dangerous as after calling a {{reload}} operation, the server simply fails and crashes. One can accidentaly kill the server with this and \!manual\! fix is necessary to the configuration to be able to start server again.
> I think that there should be some check that configuration of the newly created server is complete and valid before it is set as a default server.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list