From resin to Tomcat Problems

Hi everybody,
I really need your expertise and help!!!
We had a server using resin, then they decided to move the application to Tomcat.
The server admin moved every thing by basically coping the JSP and JAVA files over.
Then he stopped working on it and they gave it to me :-(
and of course I have no expereince with this (No clue)
I managed to get the connection to the database with help from the web.
My problem is that I have two packages (mdx and sto) Both on the same level under classes folder.
(They CANNOT see each other) convertFunctions.java Class is in mdx package
******************Part of the error ********************
# javac convertFunctions.java
convertFunctions.java:3: package sto does not exist
import sto.*;
^
convertFunctions.java:12: package javax.mail does not exist
import javax.mail.*;
^
convertFunctions.java:13: package javax.mail.internet does not exist
import javax.mail.internet.*;
^
When I run the page on the we I get this error
"Error: HTTP Status 500 -" (It cannot see the methods inside the class)
convertMenus is inside convertFunctions
******************Part of the error ********************
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 26 in the jsp file: /includes/admin_left_nav.jsp
Generated servlet error:
The method convertMenus(String, String) is undefined for the type convertFunctions
I can post any code you want.
Note that the same application/code is working great on resin.
Please help; I cannot explain how much I need your help
Any help would be greatly appreciated
Thank you in advance

I did what asked me to do then stop/start tomcat. It did not work.
I noticed that most of the errors are from changes I made to the classes: convertFunctions.java and UploadFile.java
I made the changes using (JDeveloper) on my windows machine and SSH (FTP) files to the SUN server.
Here is how I set the CLASSPATH on the sun box:
set CLASSPATH .:/usr/jakarta-tomcat-5.5.9/common/lib/servlet-api.jar:
/usr/jakarta-tomcat-5.5.9/common/lib/jsp-api.jar:
/usr/jakarta-tomcat-5.5.9/common/lib/servlet.jar $CLASSPATH
Here is my classpath after I tried to change it (No difference)
CLASSPATH=.://export/home/oracle/oracle/product/10.2.0/db_1/jdbc/lib:/usr/jakarta-tomcat-5.5.9/common/lib:/usr/jakarta-tomcat-5.5.9/server/lib:/lib:/usr/jakarta-tomcat-5.5.9/shared/lib:/usr/jakarta-tomcat-5.5.9/server/lib/servlet.jar:../../.:/usr/jakarta-tomcat-5.5.9/server/lib/classes12.jar
I really appreciate your help
Thank you in advance

Similar Messages

Maybe you are looking for