944,092 Members | Top Members by Rank

Jun 19th, 2006
0

Apache Soap Problem, rpcrouter is throwing exception

Expand Post »
Hello friends....

I have configure my apache soap.....
It is saying that after configuration if i go on "http://localhost:8080/soap/servlet/rpcrouter"
it will give following message......
"Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."


But in my case it is throwing exception which is pasted below...

I am using tomcat apache server... soap 2.3.1

My class path is:
set classpath=C:\Jars\bsf.jar;C:\Jars\js.jar;C:\Jars\activation.jar;C:\Jars\xerces.jar;C:\Jars\activation.jar;C:\Jars\soap-bin-2.3.1\soap-2_3_1\lib\soap.jar;C:\Jars\soap-bin-2.3.1\soap-2_3_1;C:\Jars\javamail-1_4\javamail-1.4\mail.jar;C:\ch3;C:\Program Files\Java\jdk1.5.0_04\lib\tools.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\rt.jar;

and Exception is:

======================================================
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:117)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
java.lang.Thread.run(Thread.java:595)


root cause

java.lang.NoClassDefFoundError: javax/mail/MessagingException
org.apache.soap.server.http.RPCRouterServlet.init(RPCRouterServlet.java:239)
javax.servlet.GenericServlet.init(GenericServlet.java:256)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
java.lang.Thread.run(Thread.java:595)


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

==================================================

Please help me as soon as possible... Pleaaaaaaaase
:cry: aLwAys vAgHu :cry:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alwaysvaghu is offline Offline
1 posts
since Jun 2006
Aug 25th, 2006
0

Re: Apache Soap Problem, rpcrouter is throwing exception

[quote=alwaysvaghu;225943]Hello friends....

I hope u must hav got your ans by now in case u haven't then I can let you know the fix for this.
Last edited by ShipraSingh; Aug 25th, 2006 at 2:49 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ShipraSingh is offline Offline
3 posts
since Aug 2006
Aug 30th, 2006
0

Re: Apache Soap Problem, rpcrouter is throwing exception

1) Apache SOAP is deprecated. Use Axis instead.
2) What's not clear about that message? It's pretty obvious that you're using the wrong request protocol.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in RSS, Web Services and SOAP Forum Timeline: Problems in configuring Soap in Tomcat
Next Thread in RSS, Web Services and SOAP Forum Timeline: Is it possible to have a different encoding inside the subject tag?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC