SOAP WebApp not running
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sonal_Bagmar
Posted On:   Tuesday, September 14, 2004 12:08 AM

Hi all, i am trying to install SOAP. i have included all the packages and also my classpath is set correctly. i run a mystartup.bat file before starting tomcat. mystartup.bat : -> set JAVA_HOME=C:j2sdk1.4.0_01 set CATALINA_HOME=C:Program FilesApache Software FoundationTomcat 5.0 set CLASSPATH=C:Program FilesApache Software Foundationsoap-2_3_1libsoap.jar set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationjavamail-1.2mail.jar set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationjaf-1.0.2activation.jar set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationxerces-1_2_3xerces.jar C:PROGRA~1APACHE~1TOMCAT~1.0BINstartup.bat this is    More>>

Hi all,
i am trying to install SOAP. i have included all the packages and also my classpath is set correctly. i run a mystartup.bat file before starting tomcat.


mystartup.bat : ->
set JAVA_HOME=C:j2sdk1.4.0_01
set CATALINA_HOME=C:Program FilesApache Software FoundationTomcat 5.0
set CLASSPATH=C:Program FilesApache Software Foundationsoap-2_3_1libsoap.jar
set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationjavamail-1.2mail.jar
set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationjaf-1.0.2activation.jar
set CLASSPATH=%CLASSPATH%;C:Program FilesApache Software Foundationxerces-1_2_3xerces.jar
C:PROGRA~1APACHE~1TOMCAT~1.0BINstartup.bat

this is the error m getting while trying to run the Soap webApp.
------------------------------------------------------------
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet rpcrouter threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)


root cause

java.lang.NoClassDefFoundError: javax/mail/MessagingException
org.apache.soap.server.http.RPCRouterServlet.init(RPCRouterServlet.java:239)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28

Thanks
Regards
SONAL

   <<Less

Re: SOAP WebApp not running

Posted By:   Balakris_Subramaniam  
Posted On:   Monday, September 27, 2004 09:45 AM


Looks like you are doing some mailing within your servlet and Tomcat cannot find the mailer classes/jar.

(Thread.java:536) root cause java.lang.NoClassDefFoundError: javax/mail/MessagingException

Ensure that mail.jar and activation.jar are also included in your CLASSPATH.
About | Sitemap | Contact