aspose file tools*
The moose likes Other Open Source Projects and the fly likes log4j.properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j.properties" Watch "log4j.properties" New topic
Author

log4j.properties

zuo liao
Greenhorn

Joined: Oct 11, 2007
Posts: 8
I have a jar(common.jar) file which will be used by all the J2EE 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
Matt Swaggi
Ranch Hand

Joined: May 29, 2008
Posts: 61
That depends upon the class loader policy that you set and also the hierarchy.

EAR - PARENT
JAR - CHILD
WAR CHILD

Usually it is either single / multiple .

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j.properties
 
Similar Threads
Loading Log4j.jar from another Jar
hibernate.cfg.xml
log4j ClassNotFoundException
Need to do logging with my own log4j.properties with jboss 6.0!
log4j setting in enterprise project structure