tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony LaPaso" <>
Subject $CATALINA_HOME/shared/lib is Ignored, Doc Grip
Date Tue, 02 Sep 2003 01:28:59 GMT
Hi all,

I'm seeing behavior that seems contrary to the TC Documentation (seems to
happen a lot).

I'm running TC 5.0.9 on Win 2k, J2SDK 1.4.2_01.

I have some JAR files (for JavaMail) in the  $CATALINA_HOME/shared/lib
directory. I expect my web app will be able to use classes out of these JARs
with no problem. Unfortunately, I get a NoClassDefFoundError when refering
to classes in these JARs.

If I move the JAR files to the $CATALINA_HOME/common/lib directory, however,
the classes are found with no problem.

According the (often innacurate) Tomcat documention, the
$CATALINA_HOME/shared/lib should be searched.


Does anyone have an explanation for why $CATALINA_HOME/shared/lib is not
being searched? And just what the heck is the difference between
$CATALINA_HOME/shared/lib vs. $CATALINA_HOME/common/lib??

The TC documentation refers to a directory, "$CATALINA_HOME/lib" and says
that the following JARs are located there: jasper-compiler.jar,
jasper-runtime.jar and naming-factory.jar. This is just another example of
the shoddy TC documentation. These JAR files are all located in
"$CATALINA_HOME/common/lib". In fact, "$CATALINA_HOME/lib" doesn't even



View raw message