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]



Reply via email to