Bug 13689 - Classloader paths for 'Common' classes and libraries are inappropriate
Summary: Classloader paths for 'Common' classes and libraries are inappropriate
Status: RESOLVED DUPLICATE of bug 10060
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 4.0.6 Final
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-16 12:25 UTC by Iskander Merriman
Modified: 2010-02-04 12:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***