Aaron Phillips [
http://community.jboss.org/people/phyto] created the discussion
"Re: How to force log4j.xml to be read out of my war?"
To view the discussion, visit:
http://community.jboss.org/message/568485#568485
--------------------------------------------------------------
From similar trace methods, I see that resources known to be embedded
within EAR-level jars are logged similarly as being found in the WAR classloader. My
question now is, should I expect a WAR within an EAR to have a child CL? I think what I
may be seeing is, there is just one CL for an EAR. In other words, I'm wondering if
my local WEB-INF/classes/log4j.xml is not being found because the WAR does not have
it's own CL, but shares it with the EAR. Here is my war's jboss-classloading.xml,
I am even being explicit about searching the WAR domain first
<classloading
xmlns="urn:jboss:classloading:1.0"
name="pentaho.war"
domain="pentaho.war"
parent-domain="pentaho.ear"
export-all="NON_EMPTY"
import-all="true"
parent-first="false">
</classloading>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/568485#568485]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]