Hi,
I installed Tomcat 4.0 in my win2000, as well as soap 2.2.
Now tomcat works good. I can see http://localhost:8080/soap/admin/index.html this page.
But when click Deploy, there will be an error:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that
prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.C:\Apache Tomcat
4.0\work\localhost\soap\admin\deploy$jsp.java:6: Package org.apache.soap.util not
found in import.import org.apache.soap.util.*; ^C:\Apache Tomcat
4.0\work\localhost\soap\admin\deploy$jsp.java:7: Package org.apache.soap.util.xml not
found in import.import org.apache.soap.util.xml.*;^C:\Apache Tomcat
4.0\work\localhost\soap\admin\deploy$jsp.java:8: Package org.apache.soap.server not
found in import.import org.apache.soap.server.*;^3 errors, 1 warning at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
When click List, another error as:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
-
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that
prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.C:\Apache Tomcat
4.0\work\localhost\soap\admin\list$jsp.java:4: Package org.apache.soap.server not
found in import.import org.apache.soap.server.*;^1 error, 1 warningat
org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at org.apache
I know it must be an classpath problem.
The path is as below:
JAVA_HOME = C:\J2SDK_Forte\jdk1.4.0\bin
CATALINA_HOME = C:\apache tomcat 4.0
Path =
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\xerces-1_4_4\xerces.jar;C:\Apache
Tomcat
4.0\bin\bootstrap.jar;C:\soap-2_2\lib\soap.jar;C:\\javamail-1.2\mail.jar;C:\\jaf-1.0.1\activation.jar;C:\\rhino1_5R4pre\js.jar;C:\\bsf-2_2\lib\bsf.jar;C:\J2SDK_Forte\jdk1.4.0\bin;
Appreciate for your help.
-
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!