> From: Mann, Ivan H [mailto:[EMAIL PROTECTED] > Subject: CLASSPATH, .jar files, packages, and so forth > > In the past I have installed the application in > .../webapps/<appl>/<directories> where the directory > tree corresponds to the package layout, and this has > worked fine.
Have you read the Servlet spec? Classes are supposed to be under <appname>/WEB-INF/classes, or, when packaged in jars, <appname>/WEB-INF/lib. > I modified setupclasspath.sh to read WEB-INF/lib > and add all .jar files to the CLASSPATH before > starting tomcat. A fatal error. CLASSPATH should never, never be used with Tomcat. Along with the Servlet spec, you should also read about Tomcat's classloader hierarchy: http://tomcat.apache.org/tomcat-6.0-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]