File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Joined: Oct 11, 2007
Oct 12, 2007 09:11:00
I have a jar(common.jar) file which will be used by all the
applications. I put it under WebSphere\AppServer\lib\ext folder. The common.jar uses log4j.
If we have J2EE application which also use log4j, it has its own log4j.properties. Will log4j.properties in common.jar affect log4j.properties in the J2EE application? Thanks
Joined: May 29, 2008
May 15, 2012 15:01:48
That depends upon the class loader policy that you set and also the hierarchy.
EAR - PARENT
JAR - CHILD
Usually it is either single / multiple .
I agree. Here's the link:
log4j setting in enterprise project structure
Need to do logging with my own log4j.properties with jboss 6.0!
Loading Log4j.jar from another Jar
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014