File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

initializing log4j in an ear file

Sriram Chandrasekaran
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic