tmanning [
http://community.jboss.org/people/tmanning] commented on the document
"Data Source Configuration in AS 7"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16657#comment-6961
--------------------------------------------------
In case anyone else has had problems with mysql and datasources in AS7 CR1 - I've
found that if you drop the mysql connector jar into the standalone/deployments directory
then your driver name must be the filename of the driver's jar file (in both
locations). You can check this with the CLI to see what driver has been created. However,
if you include the mysql-connector jar inside your war file, then the driver that's
installed has a driver name equal to the file name of your war file (again, you can see
this with the CLI).
The CLI seems to be a great way to see what drivers the system is actually deploying, and
what names they have. Run bin/jboss-admin.sh, type "connect" (while your server
is up), and then type "/subsystem=datasources:installed-drivers-list" to see the
system's installed drivers.
--------------------------------------------------