Radim Hatlapatka created WFLY-5447:
--------------------------------------
Summary: Removing virtual server which has access log fails first time and
succeeds the second time
Key: WFLY-5447
URL:
https://issues.jboss.org/browse/WFLY-5447
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Reporter: Radim Hatlapatka
Assignee: Stuart Douglas
Priority: Minor
When having created virtual server with access-log and then trying to remove the viratual
server directly, it fails with {quote}WFLYCTL0171: Removing services has lead to
unsatisfied dependencies:
Service jboss.undertow.server.default-server.testvs was depended upon by service
jboss.undertow.server.default-server.testvs.access-log{quote}, still when trying to remove
it second time, it is successfully removed. To reproduce see steps bellow:
{noformat}
[standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs:add()
{"outcome" => "success"}
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/host=testvs/setting=access-log:add()
{"outcome" => "success"}
[standalone@localhost:9990 /] reload
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/host=testvs:remove()
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0171: Removing services has lead to
unsatisfied dependencies:
Service jboss.undertow.server.default-server.testvs was depended upon by service
jboss.undertow.server.default-server.testvs.access-log",
"rolled-back" => true
}
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/host=testvs:remove()
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)