I found following article on how to set it up:
http://bnlconsulting.com/index.php/blog/item/88-jboss-71-adding-mysql-dat...
After I followed the document, I do see Datasource being added on management console. But
when I try to test the connection, I get following error:
Unexpected HTTP response: 500
Request
{
"address" => [
("subsystem" => "datasources"),
("data-source" => "EmployeeServiceDS")
],
"operation" => "flush-all-connection-in-pool"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => "JBAS010440: failed to invoke operation:
JBAS010442: failed to match pool. Check JndiName:
java:jboss/datasources/EmplouyeeServiceDS",
"rolled-back" => true
}
Posted by forums
Original post:
https://community.jboss.org/message/869845#869845