Details
-
Enhancement
-
Resolution: Done
-
Minor
-
7.1.3.GA
Description
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]"
Attachments
Issue Links
- clones
-
WFLY-10720 module with non existent dependency fails to load with no message
- Closed
- links to