Documentation Home
MySQL Connector/J 8.0 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 471.7Kb
PDF (A4) - 473.9Kb
HTML Download (TGZ) - 114.2Kb
HTML Download (Zip) - 132.0Kb

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

Chapter 12 Using Connector/J with JBoss

These instructions cover JBoss-4.x. To make the JDBC driver classes available to the application server, copy the .jar file that comes with Connector/J to 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: