Hello - I am in the processs of upgrading from Tomcat 4.0 to Tomcat 5.5. I have an application that runs on Linux-Java-Tomcat-MySQL. Before I think about upgrading the production environment, I am configuring the development environment first, which runs on Windows XP and not Linux. I've installed Apache Tomcat 5.5.5 using JDK 1.4.2_06 along with the compat classes for JDK 1.4. (BTW, I still have Tomcat 4.0.1 installed, but as a different service and it is not running). I've updated my CATALINA_HOME & TOMCAT_HOME variables to reflect the new Tomcat install (c:\tomcat5). The Tomcat homepage runs nicely along with the examples and the manager console. The application that I am trying to get up and running works flawlessly on Tomcat 4. However, when I build the application to the Tomcat5 directrory, and configure the new context and whatnot, I receive the follwing error upon browsing to the index page:
exception: javax.servlet.ServletException: javax/mail/Message root cause: java.lang.NoClassDefFoundError: javax/mail/Message I'm not sure, but it seems that the compiler (or is it the container?) can't find the class. My CLASSPATH is the following: .;C:\tomcat5\common\lib\servlet-api.jar;C:\tomcat5\common\lib\jsp-api.jar;c:\jdk\bin;c:\jdk\lib\tools.jar; There should not be a problem with the code as I am using the same jdk and the app runs on Tomcat4. I have the full stack trace available if necessary. Any help or suggestions is appreciated. Thanks, Beau
