Installing Oracle JDBC-Driver On Wildfly / JBoss


  1. Download the driver: ojdbc[VERSION].jar
  2. Create subfolders [WILDFLY_HOME]/modules/system/layers/base/com/oracle/main/
  3. Copy the downloaded ojdbc[VERSION].jar into the freshly created folder
  4. Create a file module.xml, in the same folder as above, with the contents:
<module xmlns="urn:jboss:module:1.1" name="">
<resource-root path="ojdbc[VERSION].jar"/>
<module name="javax.api"/>
<module name="javax.transaction.api"/>

5. In the configuration file standalone.xml add the entry: within the <drivers> tag.

<driver name="oracle" module="">

6. Add a datasource definition within the <datasources> tag (next to ExampleD)

<datasource jndi-name="java:/[NAME]" pool-name="OracleDS" enabled="true">
<driver>oracle[has to match the driver name]</driver>

To learn more about Perigeon’s portfolio, visit:

Drop us a mail at to discuss your requirement.

Originally published at



Perigeon Software

We deliver customized global IT solutions using cutting-edge technology with expertise in Salesforce, Shopify, BigCommerce Data and AI.