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 Dev

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

From Dev

Electron Failed to load Module

From Dev

Failed to load kafka module

From Dev

Haskell Failed to load interface for module

From Dev

Failed to load module in Angular JS

From Dev

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

From Dev

Failed to load module "canberra-gtk-module"

From Dev

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

From Dev

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

From Java

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

From Java

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

From Dev

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

From Dev

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

From Dev

The Module "aspnetcorev2.dll" failed to load

From

Android Firebase DynamiteModule: Failed to load module descriptor

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

libGL error: failed to load driver swrast in docker container

From Dev

libGL error: failed to load driver: i965

From Dev

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

From Dev

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

From Dev

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

From Dev

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

From Dev

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

Related Related

  1. 1

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

  2. 2

    Electron Failed to load Module

  3. 3

    Failed to load kafka module

  4. 4

    Haskell Failed to load interface for module

  5. 5

    Failed to load module in Angular JS

  6. 6

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

  7. 7

    Failed to load module "canberra-gtk-module"

  8. 8

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

  9. 9

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

  10. 10

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

  11. 11

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

  12. 12

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

  13. 13

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

  14. 14

    The Module "aspnetcorev2.dll" failed to load

  15. 15

    Android Firebase DynamiteModule: Failed to load module descriptor

  16. 16

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

  17. 17

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

  18. 18

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

  19. 19

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

  20. 20

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

  21. 21

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

  22. 22

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

  23. 23

    libGL error: failed to load driver swrast in docker container

  24. 24

    libGL error: failed to load driver: i965

  25. 25

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

  26. 26

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

  27. 27

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

  28. 28

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

  29. 29

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

HotTag

Archive