On Wed, Aug 22, 2001 at 09:58:33AM -0500, Brandon Cruz wrote:
> So...if you can put all common class files into tomcat_home/classes, can we
> put newer versions of the same class files into the new applications
> web-inf/classes and assume that they will be read first by the web
> application?  Or...can we put the old versions of the jar files into the old
> applications web-inf/lib and assume those will be read first

No, in 3.2.x the $TOMCAT_HOME/lib always takes precedence over
WEB-INF/lib and WEB-INF/classes.

> I am using tomcat 3.2.1 with many vhosts and they all use one set of classes
> and jar files right now, located in tomcat_home/classes and tomcat_home/lib.

I didn't know there was a $TOMCAT_HOME/classes.. only $TOMCAT_HOME/lib.

> I want to update many of these classes for newer vhosts, but don't want it
> to change for the old applications using them.

Yep, you're out of luck. Upgrade to 3.3 or 4.0 if you want WEB-INF/* to
override $TOMCAT_HOME/*

--Jeff

> Brandon

Reply via email to