> From: ehuard [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 4.1.30 classloader problem
> 
> Both classes are in our classpath

The red flag just went up.  When you say "classpath", are you referring
to the CLASSPATH variable?  Even on 4.1 levels, you should never be
setting that, nor should you add anything to Tomcat's -cp value on the
command line.

Jars and classes used by webapps normally go in the webapp's WEB-INF/lib
and WEB-INF/classes directories.  If classes must be shared across
webapps, then Tomcat's shared/lib (or shared/classes) is the appropriate
location; if classes need to be visible to both Tomcat and webapps, then
common/lib (or common/classes) should be used.

Here's the doc:
http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to