> From: Peter Stavrinides [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 6 classloader errors
> 
> I am porting a Java servlet from Tomcat 5.5.20 to Tomcat 6 
> and I seem to be having classloader issues. The application
> works under 5, but under 6 I get the following stack trace.
> 
> [EMAIL PROTECTED]
>  org.apache.tapestry.ApplicationServlet
> java.lang.ClassNotFoundException: 
> org.apache.tapestry.ApplicationServlet

Where did you put the Tapestry JAR?  It's never been part of the Tomcat
distribution, so you'll need to place it where the webapp classloader
(or the common classloader) can find it.  Note that the classloading
hierarchy in Tomcat 6 is different from that in 5.5:
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]

Reply via email to