Bug 13689

Summary: Classloader paths for 'Common' classes and libraries are inappropriate
Product: Tomcat 4 Reporter: Iskander Merriman <IskanderMerriman>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: P3    
Version: 4.0.6 Final   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Iskander Merriman 2002-10-16 12:25:00 UTC
Currently 'Common' classes and libraries are searched from $CATALINA_HOME, where they should 
better be located in $CATALINA_BASE. At the very least, $CATALINA_BASE/common/lib and 
$CATALINA_BASE/common/classes should be supplementary.

Consider a shared hosting 
environment where the Tomcat core classes are kept read-only by a super-user, and entities run 
(many) instances of Tomcat from their own $CATALINA_BASE directories.  Putting common jars in 
$CATALINA_HOME/common/lib isn't an option if two entities are using incompatible versions of 
the same library.

Appending $CATALINA_BASE/common/lib and classes should break very, 
very few existing installations.
Comment 1 Remy Maucherat 2002-10-16 13:09:19 UTC
"common" is considered to be the server binary, the same way "server" is. You
have the "lib" and "classes" folder for what you want to do.
Comment 2 Iskander Merriman 2002-10-16 17:07:34 UTC
Very well, the 'shared' category, then...

...but both "lib" and "classes" are resolved 
relative to CATALINA_HOME, where they should more properly resolved to CATALINA_BASE.
Comment 3 Mark Thomas 2010-02-04 12:05:53 UTC

*** This bug has been marked as a duplicate of bug 10060 ***