[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:19:15 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/568471#568471

--------------------------------------------------------------
Now I'm really confused.  Seems according to the trace output that the correct log4j.xml is being loaded..

2010-10-26 10:46:56,791 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (main) BaseClassLoader at 78618ac5{vfsfile:/opt/jboss-5.1.0.GA/server/default/deploy/pentaho.ear/pentaho.war/} getResource log4j.xml domain=ClassLoaderDomain at 30e6ace7{pentaho.war}
2010-10-26 10:46:56,791 TRACE [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (main) ClassLoaderDomain at 30e6ace7{pentaho.war} trying to get resource log4j.xml from requesting BaseClassLoader at 78618ac5{vfsfile:/opt/jboss-5.1.0.GA/server/default/deploy/pentaho.ear/pentaho.war/}
2010-10-26 10:46:56,791 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (main) BaseClassLoader at 78618ac5{vfsfile:/opt/jboss-5.1.0.GA/server/default/deploy/pentaho.ear/pentaho.war/} get resource locally log4j.xml
2010-10-26 10:46:56,797 TRACE [org.jboss.classloader.spi.base.BaseClassLoader] (main) BaseClassLoader at 78618ac5{vfsfile:/opt/jboss-5.1.0.GA/server/default/deploy/pentaho.ear/pentaho.war/} got resource locally log4j.xml


Now I am lost as to why log4j is acting as if it has been given a different config.  I need to think of a way of isolating this to show exactly what's happening.
Thanks for you help, Ales!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/568471#568471]

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/db608938/attachment.html 


More information about the jboss-user mailing list