[jboss-dev-forums] [JBoss AS7 Development] - Data Source Configuration in AS 7

tmanning do-not-reply at jboss.com
Tue Jul 5 12:59:01 EDT 2011


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.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110705/75bfae3e/attachment.html 


More information about the jboss-dev-forums mailing list