Documentation Home
MySQL Connector/J 8.0 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 491.9Kb
PDF (A4) - 492.5Kb
HTML Download (TGZ) - 120.4Kb
HTML Download (Zip) - 139.2Kb

MySQL Connector/J 8.0 Developer Guide  /  Using Connector/J with JBoss

Chapter 13 Using Connector/J with JBoss

These instructions cover JBoss-4.x. To make the JDBC driver classes available to the application server, put the JBoss common JDBC wrapper JAR archive (available from, for example, the Maven Central Repository at into the lib directory for your server configuration (which is usually called default). Then, in the same configuration directory, in the subdirectory named deploy, create a datasource configuration file that ends with -ds.xml, which tells JBoss to deploy this file as a JDBC Datasource. The file should have the following contents: