File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes initializing log4j in an ear file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "initializing log4j in an ear file" Watch "initializing log4j in an ear file" New topic
Author

initializing log4j in an ear file

Sriram Chandrasekaran
Greenhorn

Joined: Oct 08, 2003
Posts: 17
Hello

I have a log4j.jar, .war and ejb.jar file inside the .ear file.
the property file is also in the root of the ear file. now my question is
do i have to initialize(do propertyConfigurator(prop)) in both the
war and ejb jar, or just once in say the .war file?...do the ejb module and
war module run in the same JVM so that they are able to use the same log4j
instance?
i am using weblogic6.1

thanks in advance
-Ram
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: initializing log4j in an ear file