2 Replies Latest reply on Oct 1, 2014 9:54 AM by Evan Zeimet

    JBAS010441: Failed to load module for driver

    Evan Zeimet Newbie

      I've got a new install of Wildfly 8.1.0.Final.  I've got a few jdbc driver modules that I'm migrating from AS 7.2.0 and none of them seem to load.  I've got them deployed in the modules directory, and as far I can tell, the module names, definitions and locations match.  Below is an example of what I have for one of the drivers:

       

      [root@h-ws-msn-3 main]# pwd
      /usr/local/wildfly/modules/net/sourceforge/jtds/main
      
      [root@h-ws-msn-3 main]# ls -ltr
      total 304
      -rw-r--r--. 1 jbossas jbossas 302276 Sep 30 09:54 jtds-1.2.5.jar
      -rw-r--r--. 1 jbossas jbossas   1546 Sep 30 13:44 module.xml
      
      

       

      My module.xml contents: http://pastebin.com/d3SznMxk

      My driver definition in standalone.xml: http://pastebin.com/gGHuvvi3

       

      When I start wildfly, I get this:

       

      2014-09-30 18:48:07,202 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 28) JBAS014613: Operation ("add") failed - address: ([
          ("subsystem" => "datasources"),
          ("jdbc-driver" => "jtds-1.2.5.jar")
      ]) - failure description: "JBAS010441: Failed to load module for driver [net.sourceforge.jtds]"
      
      

       

      I also have a postgres and mysql driver in place, and I'm getting the exact same results for those.  Any help would be greatly appreciated!