Wildfly Failed to Load Module for Oracle Driver

ArtOfWarfare

I'm attempting to add an Oracle DB datasource to Wildfly 10. Here's what I have:

<wildfly-home>\modules\com\oracle\ojdbc6\main\
                                              module.xml
                                              ojdbc6.jar

module.xml

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:Wildfly:module:1.0" name="com.oracle.ojdbc6">
    <resources>
        <resource-root path="ojdbc6.jar"/>
    </resources>
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.resource.api"/>
        <module name="javax.transaction.api"/> <!-- See * below -->
   </dependencies>
</module>

* I have tried both with and without the line <module name="javax.transaction.api/>. Some examples I've found online include it. Some do not. It seems to make no difference with whether the error occurs or not.

ojdbc6.jar was copied from <oracle-home>\jdbc\lib\ojdbc6.jar.

I have modified <wildfly-home>\standalone\configuration\standalone.xml to include this within the <drivers> tag:

<driver name="oraclethin" module="com.oracle.ojdbc6">
    <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
</driver>

This error message is being spat out when I cd into <wildfly-home>\bin and run .\standalone.bat:

15:17:13,415 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "datasources"),
    ("jdbc-driver" => "oraclethin")
]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.oracle.ojdbc6]"

I've triple checked the spelling on everything. I've tried taking out some lines (and putting them back when nothing changes). Is anyone seeing what I'm missing?

user140547

Use xmlns="urn:jboss:module:1.0"

As described in https://docs.jboss.org/author/display/MODULES/Module+descriptors

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Failed to load driver class com.mysql.jdbc.Driver

From Java

Failed to load driver class org.mariadb.jdbc.Driver

From

Android Firebase DynamiteModule: Failed to load module descriptor

From Dev

Is it possible to use a datasource deployment descriptor with a driver module in Wildfly?

From Dev

Gtk-Message: Failed to load module “pantheon-filechooser-module”

From Dev

libGL error: failed to load driver swrast in docker container

From Dev

Haskell Failed to load interface for module

From Dev

The Module "aspnetcorev2.dll" failed to load

From Dev

SQL Server Driver Error Failed to find or load the JDBC driver:

From Dev

Electron Failed to load Module

From Dev

Unable to link IOKit driver against IOHIDFamily: "dependency load failed"

From Dev

Problems with importing Tensoflow in Jupyter. DLL load failed. Specific module failed to load

From Dev

What is a "Failed to load module "module-ladspa-sink"" error?

From Dev

Gtk-Message: Failed to load module "pantheon-filechooser-module"

From Dev

Failed to load module "canberra-gtk-module"

From Dev

Nvidia (Bumblebee) failed to load after install latest Intel driver

From Dev

\Driver\WudfRd failed to load for the device ROOT\WPD\0000

From Dev

"Failed to load module" error for Firebird datasource on WildFly 8.1.0.Final

From Dev

How to load a module (not a driver) when a USB device is plugged in

From Dev

Failed to load kafka module

From Dev

Nvidia Driver Install Error - "Kernel module failed to build."

From Dev

How to load my custom driver module on USB device connected?

From Dev

Failed to load module in Angular JS

From Dev

libGL error: failed to load driver: i965

From Dev

DLL load failed: The specified module could not be found. in robot framework connect Oracle Database

From Dev

How to fix error: Failed to load module "canberra-gtk-module"

From Dev

How to add the Oracle driver to Arquillian's managed Wildfly?

From Dev

Gtk Failed to load module "pantheon-filechooser-module"

From Dev

Oracle Weblogic - Cannot load driver: org.postgresql.Driver

Related Related

  1. 1

    Failed to load driver class com.mysql.jdbc.Driver

  2. 2

    Failed to load driver class org.mariadb.jdbc.Driver

  3. 3

    Android Firebase DynamiteModule: Failed to load module descriptor

  4. 4

    Is it possible to use a datasource deployment descriptor with a driver module in Wildfly?

  5. 5

    Gtk-Message: Failed to load module “pantheon-filechooser-module”

  6. 6

    libGL error: failed to load driver swrast in docker container

  7. 7

    Haskell Failed to load interface for module

  8. 8

    The Module "aspnetcorev2.dll" failed to load

  9. 9

    SQL Server Driver Error Failed to find or load the JDBC driver:

  10. 10

    Electron Failed to load Module

  11. 11

    Unable to link IOKit driver against IOHIDFamily: "dependency load failed"

  12. 12

    Problems with importing Tensoflow in Jupyter. DLL load failed. Specific module failed to load

  13. 13

    What is a "Failed to load module "module-ladspa-sink"" error?

  14. 14

    Gtk-Message: Failed to load module "pantheon-filechooser-module"

  15. 15

    Failed to load module "canberra-gtk-module"

  16. 16

    Nvidia (Bumblebee) failed to load after install latest Intel driver

  17. 17

    \Driver\WudfRd failed to load for the device ROOT\WPD\0000

  18. 18

    "Failed to load module" error for Firebird datasource on WildFly 8.1.0.Final

  19. 19

    How to load a module (not a driver) when a USB device is plugged in

  20. 20

    Failed to load kafka module

  21. 21

    Nvidia Driver Install Error - "Kernel module failed to build."

  22. 22

    How to load my custom driver module on USB device connected?

  23. 23

    Failed to load module in Angular JS

  24. 24

    libGL error: failed to load driver: i965

  25. 25

    DLL load failed: The specified module could not be found. in robot framework connect Oracle Database

  26. 26

    How to fix error: Failed to load module "canberra-gtk-module"

  27. 27

    How to add the Oracle driver to Arquillian's managed Wildfly?

  28. 28

    Gtk Failed to load module "pantheon-filechooser-module"

  29. 29

    Oracle Weblogic - Cannot load driver: org.postgresql.Driver

HotTag

Archive