Thank you, problem solved. But java:/MySqlDS didn't work.
See:
[standalone@localhost:9999 /] /subsystem=datasources/data-source=java\:\/MySqlDS:test-connection-in-pool
{
"outcome" => "failed",
"failure-description" => "JBAS014807: Management resource '[
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"java:/MySqlDS\")
]' not found",
"rolled-back" => true
}
What worked was:
[standalone@localhost:9999 /] /subsystem=datasources/data-source=MySqlDS:test-connection-in-pool
{
"outcome" => "success",
"result" => [true]
}