To create a data source for the Oracle JDBC driver, edit the
jboss.jcml file which is located in the
JBoss/conf/ directory. For example:
There is one modification, and one addition to make to this file.
- Replace this entry:
With this entry:
- Add the following entry just below the
that was just modified. Change the properties of the URL, JDBCUser, and Password to match your database configuration.
The first modification allows the Oracle JDBC driver to be loaded and thus registered with the JDBC
The second modification creates a JDBC data source bound to the JNDI name of