Tomcat ignores the CLASSPATH environment variable.

See the file startup.bat (or catalina.bat, though I think the UNIX versions
are easier to read (*.sh)) in $CATALINA_HOME/bin for info on how Tomcat
creates a class path, and also check the Class Loader HOWTO for info on what
you need to do for Tomcat to find your classes:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html

John Turner
[EMAIL PROTECTED]


> -----Original Message-----
> From: Wilson, William N [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 3:37 PM
> To: Tomcat Users List
> Subject: Finding my classes
> 
> 
> How do you get Tomcat to find your classes.  
> 
> I have the Classpath set to "C:\Apache Tomcat
> 4.0\webapps\myapp\WEB-INF\classes"
> 
> All of the server.xml stuff has been changed to make myapp be the ROOT
> context.
> 
> The only place I can get the classes to be found is in the 
> "C:\Apache Tomcat
> 4.0\classes" directory.  
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to