[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to package log4j configuration
jaikiran
do-not-reply at jboss.com
Fri Mar 21 07:24:56 EDT 2008
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.xml contents:
<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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138265#4138265
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138265
More information about the jboss-user
mailing list