The log4j.xml file from EAR is not loaded when EAR has a dependencies on a RAR
Issue
log4j.xmlfrom RAR is loaded but not the one from EARlog4j.xmlfrom EAR is not loaded
Environment
-
EAP (Enterprise Application Platform)
- 6.4.9
-
EAR containing a META-INF/log4j.xml, the RAR file also contains a file META-INF/log4j.xml. The EAR has a dependency on the RAR (jboss-deployment-structure.xml):
<deployment> <dependencies> <module name="deployment.mytest-rar.rar" export="true"/> META_INF/log4j.xmldefined in EAR;META_INF/log4j.xlmdefined in RAR;
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
