[jboss-jira] [JBoss JIRA] (WFLY-9262) adding undertow using the cli requires a batch
Alexey Loubyansky (JIRA)
issues at jboss.org
Fri Aug 25 09:11:00 EDT 2017
Alexey Loubyansky created WFLY-9262:
---------------------------------------
Summary: adding undertow using the cli requires a batch
Key: WFLY-9262
URL: https://issues.jboss.org/browse/WFLY-9262
Project: WildFly
Issue Type: Feature Request
Components: Web (Undertow)
Affects Versions: 11.0.0.Beta1
Reporter: Alexey Loubyansky
Assignee: Tomaz Cerar
Undertow appears to be the only subsystem now requiring a composite operation when it is added to the domain management model using management operations from a management client, e.g. cli.
The exact error is
{quote}
[standalone at embedded /] /subsystem=undertow:add
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0369: Required capabilities are not available:
org.wildfly.undertow.host.default-server.default-host; Possible registration points for this capability:
/subsystem=undertow/server=*/host=*
org.wildfly.undertow.server.default-server; Possible registration points for this capability:
/subsystem=undertow/server=*
org.wildfly.undertow.servlet-container.default; Possible registration points for this capability:
/subsystem=undertow/servlet-container=*",
"rolled-back" => true,
"response-headers" => {"process-state" => "reload-required"}
}
{quote}
The sequence that actually works is
{quote}
batch
/subsystem=undertow:add
/subsystem=undertow/buffer-cache=default:add
/subsystem=undertow/configuration=filter:add
/subsystem=undertow/configuration=handler:add
/subsystem=undertow/server=default-server:add
/subsystem=undertow/server=default-server/host=default-host:add(alias=["localhost"])
/subsystem=undertow/server=default-server/http-listener=default:add(socket-binding="http",redirect-socket="https",enable-http2="true")
/subsystem=undertow/servlet-container=default:add
run-batch
{quote}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list