yep, that seems to be working
I'm trying to solve a similar problem with a WAR file. Can you point me to the documentation you referred to?
The EAR file doc looks like it might also be applicable to my situation but I'm interested in what you mentioned.
Which version of JBoss? For JBoss-4.2.x, i guess this should work for a WAR file (similar to what is mentioned in the post that i pointed to, in my earlier reply):
myApp.war | |--- log4j.properties | |--- WEB-INF | | | |--- web.xml | | | |--- jboss-web.xml | |--- lib | | | |--- log4jxxx.jar
<jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> org.myapp:loader=MyClassLoader <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> </class-loading> </jboss-web>
Give it a try.