tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George McKInney" <>
Subject Your thoughts on organizing multiple web apps
Date Wed, 06 Dec 2000 16:52:42 GMT
We've got a heterogeneous collection of internal applications running under
the same Tomcat installation, and have recently had some problems.

This collection has "evolved" and changed as we learn more about using
Tomcat, and the problem seems to be that some webapps (particularly the
earlier ones)  were installed with the .jar files they needed being put into
<TOMCAT_HOME>/lib and when another app (which required, for example, a
different version of some class) was installed with the .jars IT needed
going into WEB-INF/lib the .jars in <TOMCAT_HOME>/lib "shadowed" the classes
the new app needed.

General consensus here seems (in hindsight) to be that <TOMCAT_HOME>/lib is
***NOT*** the place to put .jar files UNLESS the Tomcat administrator can
ensure that every app that will be installed will be happy with them.
Otherwise, the webapp should keep the .jars it needs in its own WEB-INF/lib
even if that means some duplication of .jar files across the collection of

Has anyone else had similar experiences, and what were your solutions?


George McKinney, Developer
tantalus communications inc.
500-1122 Mainland Street
Vancouver, BC, Canada V6B 5L1

Direct  604.726.6753
Main    604.609.0700
Fax     604.609.0705
"When eBusiness experience counts."

View raw message