[jboss-jira] [JBoss JIRA] (WFCORE-2022) Can not invoke read-resource-description on multi target address with a resource named server.
Harald Pehl (JIRA)
issues at jboss.org
Mon Dec 19 05:19:01 EST 2016
[ https://issues.jboss.org/browse/WFCORE-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13340116#comment-13340116 ]
Harald Pehl commented on WFCORE-2022:
-------------------------------------
Similar error for
{code}
/subsystem=messaging-activemq/server=*/queue=*:read-resource-description
{
"outcome" => "failed",
"result" => [],
"failure-description" => "WFLYCTL0030: No resource definition is registered for address [
(\"subsystem\" => \"messaging-activemq\"),
(\"server\" => \"*\")
]",
"rolled-back" => true
}
{code}
> 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