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. See: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html 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?? <angry-gripe> 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 exist! </angry-gripe> Thanks! Tony --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]