This content has been marked as final.
Show 3 replies
-
1. Re: Defining classloading rules explicitly (through jboss-cl
cdivita Oct 2, 2009 11:12 AM (in response to cdivita)"cdivita" wrote:
Hi to all,
I want to deploy on JBoss 5.1.0 a web application that use log4j through commons-logging, and I want to configure logging using a custom log4j.properties file.
So I tried to add the file jboss-classloading.xml to directory WEB-INF/lib to my WAR, as reported http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5.
Unfortunately the log4j.properties file that is int WEB-INF/classes directory of the WAR is ignored
I'm sorry, the post wasn't complete when I submit it.
The jboss-classloading.xml content is:<classloading xmlns="urn:jboss:classloading:1.0" name="my-web-app.war" domain="my-web-app-domain" export-all="NON_EMPTY" import-all="true"> </classloading>
My war also contains jars of commons-logging and log4j. Someone can help me ??
Thank you,
Claudio -
2. Re: Defining classloading rules explicitly (through jboss-cl
jaikiran Oct 2, 2009 12:06 PM (in response to cdivita)"cdivita" wrote:
So I tried to add the file jboss-classloading.xml to directory WEB-INF/lib to my WAR,
The jboss-classloading.xml file should be placed in WEB-INF folder and not in WEB-INF/lib. -
3. Re: Defining classloading rules explicitly (through jboss-cl
cdivita Oct 6, 2009 6:28 AM (in response to cdivita)"jaikiran" wrote:
The jboss-classloading.xml file should be placed in WEB-INF folder and not in WEB-INF/lib.
It was a typing error, the file jboss-classloading.xml is in WEB-INF folder.