tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Mayfield <>
Subject ClassNotFoundException - common/lib works, shared/lib gets exception
Date Sat, 07 May 2005 17:52:41 GMT
 So that I avoid "already loaded" classloader problems with jar's that 
front native library calls via JNI, I am following the pattern of 
putting the jars into "shared/lib".

However, I get a ClassNotFoundException.  If I put this into 
"CATALINA_HOME/common/lib", everything works fine.  It's my impression, though, 
that one ought to put it into "shared/lib".

I've tried both CATALINA_HOME/shared/lib and CATALINA_BASE/shared/lib.

This is on Tomcat 5.0.28.  I have not changed 
CATALINA_HOME/conf/, which would imply that CATALINA_BASE/shared/lib should


Any ideas what might be going awry?

Thanks for you help.

Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message