remind that I use the latest version JBoss 4.0.3 SP1 it use tomcat for delpoy webapp is it valid to use the below method that I find from http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging
Drop log4j.jar in your myapp.war/WEB-INF. Make the change in jboss-web.xml for class-loading, as shown in the section above. In this case, myapp.war/WEB-INF/jboss-web.xml looks like this: <jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> myapp:loader=myapp.war <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> </class-loading> </jboss-web> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913778#3913778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913778 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user