aspose file tools*
The moose likes Web Services and the fly likes Java JAX-RPC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java JAX-RPC" Watch "Java JAX-RPC" New topic
Author

Java JAX-RPC

John Cox
Greenhorn

Joined: Sep 08, 2004
Posts: 2
Been trying to get the 1.4 J2EE tutorial working for JAX-RPC and followed all the steps but not getting the service running. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXRPC3.html If anyone has gotten this service running please contact me with how.

Getting the following message from the server.

HTTP Status 404 - Servlet HelloImpl is not available

type Status report

message Servlet HelloImpl is not available

description The requested resource (Servlet HelloImpl is not available) is not available.
Apache Tomcat/5.0.28

or
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: Class helloservice.HelloImpl is not a Servlet
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:534)

root cause

java.lang.ClassCastException
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:534)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Tch! how many places did you post this anyway. Bad form.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java JAX-RPC