This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Can a EJB module reference a WEB module?
log4j.properties file outside application
packaging EAR
manifest classpath
Can a EJB module reference a WEB module?