Install JDBC Drivers - Configuring JDBC DataSources
13.2.2. Configuring JDBC DataSources Datasources correspond to the simplified JCA Datasource configuration specifications. Datasources need to reside in the $JBOSS_HOME/server/PROFILE/deploy directory, alongside other deployable applications and resources. The files use a standard naming scheme of DBNAME-ds.xml. Example datasources for all certified databases are located in the $JBOSS_HOME/docs/examples/jca directory. Edit the datasource that corresponds to your database, and copy it to the deploy/ directory before restarting the application server. See Chapter 14, Datasource Configuration for information on configuring datasources. As a minimum, you will need to change the connection-url, user-name, and password to correspond to your database of choice.