When using a script to build up a configuration from nothing, the undertow:add() is failing.
jboss-cli.sh
embed-host-controller
/profile=test:add()
/profile=test/subsystem=undertow:add()
[domain@embedded /] /profile=test/subsystem=undertow:add()
{
"outcome" => "failed",
"failure-description" =>
{"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
org.wildfly.undertow.host.default-server.default-host in context 'profile=test'; Possible registration points for this capability:
/profile=*/subsystem=undertow/server=*/host=*
org.wildfly.undertow.servlet-container.default in context 'profile=test'; Possible registration points for this capability:
/profile=*/subsystem=undertow/servlet-container=*
org.wildfly.undertow.server.default-server in context 'profile=test'; Possible registration points for this capability:
/profile=*/subsystem=undertow/server=*"}
,
"rolled-back" => true
}