-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
14.0.1.Final, 12.0.0.Final, 13.0.0.Final, 20.0.0.Beta1
-
None
-
- /subsystem=undertow/server=test-server:add
- /subsystem=undertow:write-attribute(name=default-server, value=test-server)
- reload
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:
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=*
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.
- relates to
-
WFLY-10373 Standard undertow subsystem config should declare the default-[server|virtual-host|servlet-container|security-domain] attributes
- Closed