This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
manifest classpath
Can a EJB module reference a WEB module?
log4j.properties file outside application
Can a EJB module reference a WEB module?
packaging EAR