[jboss-jira] [JBoss JIRA] (WFLY-5447) Removing virtual server which has access log fails first time and succeeds the second time

Radim Hatlapatka (JIRA) issues at jboss.org
Thu Oct 1 09:55:01 EDT 2015


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 at localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs:add()
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=undertow/server=default-server/host=testvs/setting=access-log:add()
{"outcome" => "success"}
[standalone at localhost:9990 /] reload 
[standalone at 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 at 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)


More information about the jboss-jira mailing list