File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "initializing log4j in an ear file" Watch "initializing log4j in an ear file" New topic

initializing log4j in an ear file

Sriram Chandrasekaran

Joined: Oct 08, 2003
Posts: 17

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? the ejb module and
war module run in the same JVM so that they are able to use the same log4j
i am using weblogic6.1

thanks in advance
I agree. Here's the link:
subject: initializing log4j in an ear file