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>