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.

-- 
Regards,
Merg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to