logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merg <m...@merg.be>
Subject Re[2]: log4j and J2EE problem
Date Thu, 09 Aug 2001 03:31:43 GMT
Hello James,

Wednesday, August 08, 2001, 8:29:55 AM, you wrote:

JV> My understanding from the Weblogic documentation,
JV> http://e-docs.bea.com/wls/docs61///programming/packaging.html#1051556, is
JV> that Weblogic uses two classloaders per application.  One for EJBs and one
JV> for the webapp with the webapp's class loader being a child of the EJB's
JV> class loader.

JV> So, how are people initialing log4j so that there is a single singleton per
JV> application in Weblogic?

There indeed 2 classloaders, but if you put log4j.jar in the weblogic
classpath during startup, there is only one instance. We use log4j for
some weblogic plugins and several applications (some in .ear format,
others as an expanded dir) and they all use the same log4j singleton.


To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message