Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15006

[GSS](7.1.z) module with non existent dependency fails to load with no message

XMLWordPrintable

      module with non existent dependency fails to load with no message

      If a user configures a custom module for a datasource and misspells one of the dependencies, then it will fail to load the module but does not indicate why. As the module is defined, but one of its dependencies does not exist, it would be good if it logged why the module failed to load.

      Can reproduce by editing: modules/system/layers/base/com/h2database/h2/main/module.xml

      Change
      <module name="javax.transaction.api"/>
      to
      <module name="jaxax.transaction.api"/>

      14:01:58,896 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datasources"),
          ("jdbc-driver" => "h2")
      ]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.h2database.h2]"
      

              spyrkob Bartosz Spyrko-Smietanko (Inactive)
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: