-
Bug
-
Resolution: Done
-
Major
-
2.9.16.Final
-
None
In domain mode, if you add a xa-data-source and remove all of the data-sources, and reload server-one as requested. Then in the web console - Runtime / Server Group / main-server-group / server-one / Subsystems / Datasources / View gives error "Failed to create security context":
Failed to create security context Unexpected HTTP response: 500 Request { "operation" => "composite", "address" => [], "steps" => [ { "address" => [ ("host" => "master"), ("server" => "server-one"), ("subsystem" => "datasources"), ("data-source" => "*"), ("statistics" => "pool") ], "operation" => "read-resource-description", "operations" => true, "access-control" => "combined-descriptions", "locale" => "en", "recursive-depth" => 2, "include-aliases" => true }, { "address" => [ ("host" => "master"), ("server" => "server-one"), ("subsystem" => "datasources"), ("xa-data-source" => "*") ], "operation" => "read-resource-description", "operations" => true, "access-control" => "combined-descriptions", "locale" => "en", "recursive-depth" => 2, "include-aliases" => true }, { "address" => [ ("host" => "master"), ("server" => "server-one"), ("subsystem" => "datasources"), ("data-source" => "*") ], "operation" => "read-resource-description", "operations" => true, "access-control" => "combined-descriptions", "locale" => "en", "recursive-depth" => 2, "include-aliases" => true } ] } Response Internal Server Error { "outcome" => "failed", "result" => { "step-1" => { "outcome" => "failed", "result" => [], "failure-description" => "WFLYCTL0030: No resource definition is registered for address [ (\"subsystem\" => \"datasources\"), (\"data-source\" => \"*\"), (\"statistics\" => \"pool\") ]", "rolled-back" => true }, "step-2" => {"outcome" => undefined}, "step-3" => {"outcome" => undefined} }, "failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0030: No resource definition is registered for address [ (\"subsystem\" => \"datasources\"), (\"data-source\" => \"*\"), (\"statistics\" => \"pool\") ]"}}, "rolled-back" => true }
It looks like it is calling this command below which fails:
[domain@localhost:9990 /] /host=master/server=server-one/subsystem=datasources/data-source=*/statistics=pool:read-resource-description() { "outcome" => "failed", "result" => [], "failure-description" => "WFLYCTL0030: No resource definition is registered for address [ (\"subsystem\" => \"datasources\"), (\"data-source\" => \"*\"), (\"statistics\" => \"pool\") ]", "rolled-back" => true }
- is cloned by
-
JBEAP-14649 [GSS](7.1.z) HAL-1457 - Console 'Failed to create security context' if there are no data-sources
- Closed