]
Kabir Khan reassigned WFCORE-948:
---------------------------------
Assignee: Kabir Khan
Multiprocess wildcard read-resource-description does not work
-------------------------------------------------------------
Key: WFCORE-948
URL:
https://issues.jboss.org/browse/WFCORE-948
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.0.Beta5
Reporter: Brian Stansberry
Assignee: Kabir Khan
{code}
[domain@localhost:9990 /]
/host=master/server=*/interface=public:read-resource-description
{
"outcome" => "failed",
"result" => [
{
"address" => [
("host" => "master"),
("server" => "*"),
("interface" => "public")
],
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler
failed: java.lang.NullPointerException",
"rolled-back" => true
},
{
"address" => [
("host" => "master"),
("server" => "server-one"),
("interface" => "public")
],
"outcome" => "failed",
"result" => undefined,
"rolled-back" => true
},
{
"address" => [
("host" => "master"),
("server" => "server-two"),
("interface" => "public")
],
"outcome" => "failed",
"result" => undefined,
"rolled-back" => true
}
],
"failure-description" => "WFLYCTL0285: Operation
read-resource-description invoked against multiple target addresses failed at address [
(\"host\" => \"master\"),
(\"server\" => \"*\"),
(\"interface\" => \"public\")
] with failure description WFLYCTL0158: Operation handler failed:
java.lang.NullPointerException",
"rolled-back" => true
}
{code}
In the HC log:
{code}
[Host Controller] 20:37:28,277 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 3) WFLYCTL0013: Operation
("read-resource-description") failed - address: ([
[Host Controller] ("host" => "master"),
[Host Controller] ("server" => "*"),
[Host Controller] ("interface" => "public")
[Host Controller] ]): java.lang.NullPointerException
[Host Controller] at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.getResourceRegistrationCheckForAlias(ReadResourceDescriptionHandler.java:391)
[Host Controller] at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecuteInternal(ReadResourceDescriptionHandler.java:189)
[Host Controller] at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.doExecute(ReadResourceDescriptionHandler.java:161)
[Host Controller] at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.access$300(ReadResourceDescriptionHandler.java:97)
[Host Controller] at
org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler$2.execute(ReadResourceDescriptionHandler.java:411)
[Host Controller] at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:854)
{code}
The handling for this doesn't have the stuff I did for WFCORE-282.