[jboss-user] [JBoss Microcontainer] - Re: How to force log4j.xml to be read out of my war?
Aaron Phillips
do-not-reply at jboss.com
Tue Oct 26 11:48:58 EDT 2010
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&containerType=14&container=2114]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101026/55cd813d/attachment.html
More information about the jboss-user
mailing list