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

Recommended Answers

All 4 Replies

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)

please post your questions in your own thread(s).
It keeps the place organised.

as to your question: see the Axis documentation. It explains all the steps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.