]
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).