Howdy,
I don't know the answer, but I wanted to say I'm very interested in this question as 
well. Mr. G�lc� or anyone else care to comment? ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 30, 2002 8:52 AM
>To: [EMAIL PROTECTED]
>Subject: Log4j and Tomcat apps
>
>
>I was reading the Log4j manual and it suggests that for each webapp, you
>should use a separate log4j jar file in each WEB-INF/lib to make sure that
>each log4j is in its own "log4j Universe".  However, this puts constraints
>on where I put my libraries that use log4j.  For instance, if I have log4j
>in WEB-INF/lib, I can't have libraries that use log4j in TOMCAT_HOME/lib
>because the libraries in the parent classloader won't find the Log4j
>libraries in the child classloader.  However, that is where I'd like to put
>some of my libraries since they are common to all my webapps.  In fact,
>Log4j is common to all my webapps so I'd like to put it in TOMCAT_HOME/lib
>as well.  However, this would cause conflicts becase Log4j would no longer
>be running in its own "Log4j Universe".
>
>So, in a manner of speaking, my libraries are being held hostage in
>WEB-INF/lib because Log4j is designed in a way that it needs to live on
>it's own and not be shared by multiple apps at once.
>
>Have I interpreted things wrong, or is this what was intended?  Is there
>anything I can do to keep my libraries from being "held hostage"?  Are
>there any tricks that I'm missing here?
>
>Jake
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:log4j-user-
>[EMAIL PROTECTED]>


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

Reply via email to