]
Bartosz Spyrko commented on WFLY-12019:
---------------------------------------
Btw it seems the "restart-required" value has been changed somewhere between EAP
7.2 and now. I think it might have been due to WFLY-11588 - before the change
SimpleResourceDefinition's constructor would set the restart based on remove
handler's subtype, after the change it defaults to RESTART_ALL_SERVICES.
Not sure if that was an intended change or accidental side effect.
Cannot remove a undertow server resource at one time
----------------------------------------------------
Key: WFLY-12019
URL:
https://issues.jboss.org/browse/WFLY-12019
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 16.0.0.Final
Reporter: Bartosz Spyrko
Assignee: Bartosz Spyrko
Priority: Major
Cannot remove a server attribute.
{noformat}
[standalone@localhost:9990 /] /subsystem=undertow/server=default-server:remove()
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0171: Removing services has lead
to unsatisfied dependencies:
Service jboss.undertow.server.default-server.default-host was depended upon by service
jboss.undertow.server.default-server.default-host.filter-ref.x-powered-by-header, service
jboss.undertow.server.default-server.default-host.location.
/, service
jboss.undertow.server.default-server.default-host.filter-ref.server-header",
"rolled-back" => true,
"response-headers" => undefined
}
{noformat}
However, it can be removed executing same command again.