Hi,
A webapp can use its own commons-logging library, but it must then move the one 
supplied with Tomcat out of the common and into the server lib directory.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Dennis Thrys�e [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, August 17, 2004 9:59 AM
>To: [EMAIL PROTECTED]
>Subject: Incorrect classloading
>
>Hi,
>
>I recently tried to use the newest version of jgroups within a webapp
>running in tomcat. JGroups comes with a commons-logging.jar for it's own
>logging.
>
>I discovered that Jgroups couldn't use commons logging, because commons
>logging coulnd't load a log4j class, even though log4j.jar was in
>WEB-INF/lib.
>
>I solved the problem by placing log4j.jar along with the rest of
>tomcat's jar files (e.g. tomcat's commons-logging.jar).
>
>This makes me wonder if there is a problem with using commons logging in
>a webapp in general? It seems tomcat isn't loading commons-logging from
>the webapp as expected, but rather uses the one loaded in tomcat
>already. Is that correct, and if so, why shouldn't a webapp be allowed
>to use it's own commons-logging?
>
>Could this be a variant of
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22701 ?
>
>I'm using Tomcat 4.1.30.
>
>-dennis
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to