[jboss-jira] [JBoss JIRA] (WFCORE-2022) Can not invoke read-resource-description on multi target address with a resource named server.

Brian Stansberry (JIRA) issues at jboss.org
Fri Mar 10 14:52:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-2022:
-------------------------------------
    Labels: domain-mode  (was: )


> Can not invoke read-resource-description on multi target address with a resource named server.
> ----------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2022
>                 URL: https://issues.jboss.org/browse/WFCORE-2022
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Alpha12
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>              Labels: domain-mode
>
> To reproduce, invoke:
> {noformat}
> /subsystem=undertow/server=*/http-listener=*:read-resource-description
> {
>     "outcome" => "failed",
>     "result" => [],
>     "failure-description" => "WFLYCTL0030: No resource definition is registered for address [
>     (\"subsystem\" => \"undertow\"),
>     (\"server\" => \"*\")
> ]",
>     "rolled-back" => true
> }
> {noformat}
> The address is valid but the operation fails at org.jboss.as.controller.operations.global.GlobalOperationHandlers.RegistrationAddressResolver#executeMultiTargetChildren when checking the condition:
> {noformat}
>  if (path.getKey().equals(RUNNING_SERVER) && path.isWildcard() && newRemaining.size() > 0)
> {noformat}
> The check was added for WFCORE-948 but makes any multi target operation with a server resource fails (such as Undertow server or messaging-activemq server resources).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list