This content has been marked as final.
Show 1 reply
-
1. Re: Jboss-Logging does not write Logs when Resource Adapter is linked to log4.jar
giofyxle Nov 28, 2014 4:38 AM (in response to giofyxle)So I found out:
to be able to use jboss-logging we must not use our own log4j.jar.
The solution was to remove the log4.jar from our global module. Instead we referenced in the global module the wildfly intern log4j-module:
<module xmlns="urn:jboss:module:1.3" name="de.safir.api">
<dependencies>
....
<module name="org.apache.log4j"/>
</dependencies>
.....
</module>
In this configuration the resource-adapter starts without error and the jboss logging works.