|
You
must edit tomcat.bat to setup the classpath used by tomcat.
Thanks, sunder!
Also I write a batch file:
mystartup.bat:
set JAVA_HOME=d:\jdk1.3 set
TOMCAT_HOME=d:\soap\jakarta-tomcat-3.2.4 set
CLASSPATH=d:\soap\xerces-1_2_3\xerces.jar set
CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2\lib\soap.jar set
CLASSPATH=%CLASSPATH%;d:\soap\javamail-1.2\mail.jar set
CLASSPATH=%CLASSPATH%;d:\soap\jaf-1.0.1\activation.jar set
CLASSPATH=%CLASSPATH%;d:\soap\soap-2_2
%TOMCAT_HOME%\bin\startup.bat
When I pressed List button, the message is :
Service Listing
Error: 500
Location:
/soap/admin/list.jspInternal Servlet Error:
javax.servlet.ServletException: javax/mail/MessagingException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at admin._0002fadmin_0002flist_0002ejsplist_jsp_0._jspService(_0002fadmin_0002flist_0002ejsplist_jsp_0.java:65)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Thanks again, :) Baosong
----- Original Message -----
Sent: Thursday, November 29, 2001 7:56
PM
Subject: RE: An Installation Question
shan,
Post the errors you got in WinNT.
Am
working with NT only.
Hi, sunder,
Thank U!
But I think there may be other errors. Because I cheked
all the CLASSPATH, only finding no jaxp.jar is there. And just now I
installed the same ones on Windows NT 4.0. It ALSO doesn't
work!
Will you please to tell me about some websites which
teaches how to install SOAP on Linux? I learned it on www.soapuser.com, couldn't
work.
Thank U again. You are so kind.
-Baosong
----- Original Message -----
Sent: Thursday, November 29, 2001 7:09
PM
Subject: RE: An Installation
Question
Hi shan,
Check your systems classpath, whether any
"jaxp.jar" file is thr. Instead of taking XERCES.jar, he is trying to
access jaxp.jar i think. If you found that jaxp.jar
Just move that file to some other temp directory just to chk.
-sunder
|