I get the following error message when I try to test Apache SOAPServer by pointing my browser to http://localhost:8080/soap/servlet/rpcrouter
exception
javax.servlet.ServletException: javax/mail/MessagingException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.admin.undeploy_jsp._jspService(org.apache.jsp.admin.undeploy_jsp:105)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NoClassDefFoundError: javax/mail/MessagingException
org.apache.jsp.admin.undeploy_jsp._jspService(org.apache.jsp.admin.undeploy_jsp:55)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

I have set my class path's to:
;C:\jakarta-tomcat-4.0.1\common\lib\xerces.jar;C:\soap-2_3\lib\soap.jar;C:\soap-2_3; C:\jakarta-tomcat-4.0.1\common\lib\mail.jar;C:\jakarta-tomcat-4.0.1\common\lib\activation.jar

Use Axis instead. Apache SOAP is way too old and no longer maintained.

I don't see any SOAP related classes in there either, so I must assume (also because of the unrelated exception) that you did in fact NOT add the required jars to the web application classpath at all.

i already have the axis file, but how can i register the axis to the tomcat server??? pliss help... i'am already frustated with this (sorry if my english bad.. heheehe)

This article has been dead for over six months. Start a new discussion instead.