You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Duncan, Sean" <Se...@Summit.Fiserv.com> on 2005/01/20 19:04:48 UTC

shared/lib driving me crazy! RE: shared/lib seems to be ignored

I've established that no jar files are being loaded from shared/lib.  I've
added the -verbose:class switch to catalin.bat and I'm redirecting the
output to a file.  I've performed a text search for "shared\lib" within the
file and found no matches.  This is the case for all jar files not just
mine.  To make sure it wasn't just my jar file I placed standard jar files
that Struts depends on in shared/lib and they don't get loaded either.  The
strange thing is that Tomcat is locking the jars while it's running, but
doesn't load classes from them. Can anyone help me?  I'm losing my mind!

-Sean

-----Original Message-----
From: Duncan, Sean [mailto:Sean.Duncan@summit.fiserv.com] 
Sent: Wednesday, January 19, 2005 4:47 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: shared/lib seems to be ignored


I've been running into this for a few releases now, but I haven't had time
to resolve it.
 
I'm developing a suite of  web applications that share a common core.  For
various reasons it is important that all of the apps within the suite
reference the core from the same classloader.  All my reading has directed
me toward placing the core jar file in ${CATALINA_HOME}/shared/lib.
Unfortunately from release 4.1.x all the way up to 5.5.x the jar file seems
to be completely ignored when I place it in ${CATALINA_HOME}/shared/lib.  On
the other hand everything works fine when I place it in
${CATALINA_HOME}/common/lib.  Do I have to explicitly configure Tomcat to
look in ${CATALINA_HOME}/shared/lib?
 
Thanks in advance for your time.
 
-Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org