]
Bartosz Spyrko-Śmietanko moved JBEAP-15076 to WFLY-10720:
---------------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-10720 (was: JBEAP-15076)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Server
(was: Server)
Affects Version/s: (was: 7.1.3.GA)
module with non existent dependency fails to load with no message
------------------------------------------------------------------
Key: WFLY-10720
URL:
https://issues.jboss.org/browse/WFLY-10720
Project: WildFly
Issue Type: Enhancement
Components: Server
Reporter: Bartosz Spyrko-Śmietanko
Assignee: Bartosz Spyrko-Śmietanko
Priority: Minor
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"/>
{code}
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]"
{code}