Can't register Oracle jdbc driver

Latest response

Hello all,

I am testing Jboss EAP 7.0 on Redhat 7, and want to connect backend Oracle 11g r2, so I downloaded ojdbc6.jar driver from .

I already added this ojdbc6.jar new core module in CLI by the following command:

module add --resources=/root/ojdbc6.jar --dependencies=javax.api,javax.transaction.api

In EAP_HOME/modules/com/oracle/main/ directory have the following files:
module.xml ojdbc6.jar

Below is module.xml :

<?xml version="1.0" ?>

    <resource-root path="ojdbc6.jar"/>

    <module name="javax.api"/>
    <module name="javax.transaction.api"/>

And then want to register the JDBC driver in CLI by the following command , but failed:

"outcome" => "failed",
"failure-description" => "WFLYJCA0041: Failed to load module for driver []",
"rolled-back" => true

I am following the following guideline:



Hi Wilson,

Looking at the commands you have listed, you have created the JDBC module with the module name, but when you are creating the driver you are referencing the module name as

I think you need to use the correct name of the module you created for the /subsystem=datasources/jdbc-driver=oracle:add command to work.

If you need more assistance, I would recommend opening a support case so our support engineers have a deeper look into your configuration.

I can't register driver, thanks !!!