tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: classpath in tomcat.sh
Date Wed, 10 Oct 2001 14:43:45 GMT
Hi Krasi,

This looks like Tomcat 3.3.  This is *not* OK for Tomcat
3.3.  Unlike Tomcat 3.2.x, Tomcat 3.3 builds a
classloader hierarchy that includes all the Tomcat
jars you list below.  Jars in that list not already
in Tomcat should be added to the appropriate directory
or listed in the appropriate System property.  See:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes>

Note that this section needs updating as to the fact that
a XML parser (the one from lib/container) will be made
available to web applications that don't already contain
an XML parser. See:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#LoaderInterceptor11>

Also not documented yet is that the fact that for web
applications, the Common, Apps, and Webapps classloaders
will be wrapped by an instance of a DependClassloader for
class update detection.  This is done by the
ReloadInterceptor.  If you walk the classloader
parent chain, you will only see the Application classloader
as the parent of the DependClassloader.

Hope this helps.

Cheers,
Larry

> -----Original Message-----
> From: Krasi Zlatev [mailto:krasice@yahoo.com]
> Sent: Wednesday, October 10, 2001 10:05 AM
> To: tomcat-user@jakarta.apache.org
> Subject: classpath in tomcat.sh
> 
> 
> How to make configure CLASSPATH in tomcat.shm
> by default only tomcat.jar is in it. I added
> every possible *.jar in the classpath, is that OK?
> 
> Thnak you!
> 
> My classpath now is:
> 
> CLASSPATH=${TOMCAT_INSTALL}/lib/tomcat.jar:${TOMCAT_INSTALL}/l
> ib/stop_tomcat.jar:${TOMCAT_INSTALL}/lib/classes/mysql_uncomp.
> jar:${TOMCAT_INSTALL}/lib/classes/bulpa.jar:${TOMCAT_INSTALL}/
> lib/common/connector_util.jar:${TOMCAT_INSTALL}/lib/common/cor
> e_util.jar:${TOMCAT_INSTALL}/lib/common/etomcat.jar:${TOMCAT_I
> NSTALL}/lib/common/jasper-runtime.jar:${TOMCAT_INSTALL}/lib/co
> mmon/servlet.jar:${TOMCAT_INSTALL}/lib/common/tomcat_core.jar:
> ${TOMCAT_INSTALL}/lib/container/crimson.jar:${TOMCAT_INSTALL}/
> lib/container/facade22.jar:${TOMCAT_INSTALL}/lib/container/jas
> per.jar:${TOMCAT_INSTALL}/lib/container/jaxp.jar:${TOMCAT_INST
> ALL}/lib/container/tomcat_modules.jar:${TOMCAT_INSTALL}/lib/co
> ntainer/tomcat_util.jar:${TOMCAT_INSTALL}/lib/container/xalan.
> jar:${JAVA_HOME}/lib/dt.jar:${JAVA_HOME}/lib/htmlconverter.jar
> :${JAVA_HOME}/lib/tools.jar
> 
> 
> 
> =====
> Krasi Zlatev
> Enjoy!
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 

Mime
View raw message