[jboss-jira] [JBoss JIRA] (WFLY-12019) Cannot remove a undertow server resource at one time

Bartosz Spyrko (Jira) issues at jboss.org
Tue May 7 14:05:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730670#comment-13730670 ] 

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 at 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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list