| 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: 12327
|
|
It appears that something is wrong with your implementation of HelloImpl - where did the code come from? What does HelloImpl extend? Can you get anthing else in the tutorial running? Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Java JAX-RPC
|
|
|