-
Bug
-
Resolution: Done
-
Critical
-
2.6.10
-
None
Test connection keeps failing in both, standalone and domain using HAL version 2.6.6.Final. Worked fine in 2.1.1.Final
Standalone details:
Unexpected HTTP response: 500
Request
{
"address" => [
("subsystem" => "datasources"),
("data-source" => "Postgresql")
],
"operation" => "test-connection-in-pool"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
"rolled-back" => true
}
Domain details:
Unexpected HTTP response: 500
Request
{
"address" => [],
"operation" => "composite",
"steps" => [{
"operation" => "test-connection-in-pool",
"address" => [
("host" => "host2"),
("server" => "server-one"),
("subsystem" => "datasources"),
("data-source" => "PostgresDS")
]
}]
}
Response
Internal Server Error
{
"outcome" => "failed",
"result" => {"step-1" => {
"outcome" => "failed",
"failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
"rolled-back" => true
}},
"failure-description" => "WFLYDC0022: Operation failed or was rolled back on all servers.",
"rolled-back" => true,
"server-groups" => {"main-server-group" => {"host" => {"host2" => {"server-one" => {"response" => {
"outcome" => "failed",
"result" => {"step-1" => {
"outcome" => "failed",
"failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid",
"rolled-back" => true
}},
"failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid"}},
"rolled-back" => true
}}}}}}
}