tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Why commons-logging-api.jar?
Date Thu, 24 Apr 2003 18:35:44 GMT

I've been following this thread with great interest.

>What prevents you from putting log4j.jar in $TOMCAT_HOME/common/lib of

I want my web applications to be self-contained, i.e. everything under
the docBase or in one war file.  I want my web applications to use
log4j.  I don't care how the container is logging, whether it's using
log4j or commons-logging or whatever.  

As long as the log4j version in my WEB-INF/lib can be different from the
one in common/lib, the above suggestion is OK with me.  But maybe
$CATALINA_HOME/server/lib is a better location.

It seems like a big chunk of the problem occurs when the server and the
apps share classloaders.  I've been avoiding the use of the
common/shared library repositories, using only WEB-INF/lib, and haven't
run into any problems using log4j.

Yoav Shapira
Millennium ChemInformatics

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:
For additional commands, e-mail:

View raw message