]
Karl Pietrzak commented on WFLY-3571:
-------------------------------------
It might be related to WFLY-832 if the code is common.
bad error message for invalid <resource-root path>
--------------------------------------------------
Key: WFLY-3571
URL:
https://issues.jboss.org/browse/WFLY-3571
Project: WildFly
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Karl Pietrzak
Assignee: Jason Greene
Priority: Minor
h3. What
If you have a typo in your path for your module.xml for a JDBC driver, e.g.,
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="com.mysql">
<resources>
<resource-root path="DOES.NOT.EXIST.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
{code}
WF just says:
{noformat}
16:22:26,770 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread
Pool -- 30) JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "com.mysql")
{noformat}
h3. Why
This is not very informative, unfortunately. Maybe it's logged as level DEBUG
instead of WARN? If someone points me to the name of the class that handles this kind of
thing, I can submit a patch/pull request.