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

Jeff Mesnil (JIRA) issues at jboss.org
Mon Nov 21 04:30:00 EST 2016


Jeff Mesnil created WFCORE-2022:
-----------------------------------

             Summary: 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


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