p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

java_webservices thread: please help


Message #1 by "Ivan Chhua" <ivanchhua@y...> on Thu, 28 Nov 2002 01:47:55
Hi Ivan.

I'm glad to learn you managed to get HelloWorld in chp 3 to work. I had a 
tough time with it, which I finally got to work :).

I'm not sure if you have heard of this book : Professional Java SOAP by 
Henry Bequet, Wrox too. I've browsed through it and found the author does a 
much much better job in explaining SOAP and dealing with problems that crop 
up! Have a look at it.

Happy SOAPing
Tamarra






>From: "Ivan Chhua" <ivanchhua@y...>
>Reply-To: "Java Web Services" <java_webservices@p...>
>To: "Java Web Services" <java_webservices@p...>
>Subject: [java_webservices] please help
>Date: Thu, 28 Nov 2002 01:47:55
>
>I'm developing a Web services application which is using Jakarta Tomcat
>4.o.6, Apache SOAP 2.2 and Java 2 SDK 1.4.1.01. I'm using "Professional
>Java Web Services" book as reference and from chapter 3: SOAP 2.2, I tried
>to run the "job resume repository" service but I got the following error
>message :-
>
>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: Error instantiating servlet class
>com.wrox.jobresume.client.retrieve.RetrieveServlet
>   at org.apache.catalina.core.StandardWrapper.loadServlet
>(StandardWrapper.java:901)
>   at org.apache.catalina.core.StandardWrapper.allocate
>(StandardWrapper.java:658)
>   at org.apache.catalina.core.StandardWrapperValve.invoke
>(StandardWrapperValve.java:214)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardContextValve.invoke
>(StandardContextValve.java:191)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardContext.invoke
>(StandardContext.java:2396)
>   at org.apache.catalina.core.StandardHostValve.invoke
>(StandardHostValve.java:180)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>(ErrorDispatcherValve.java:170)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:641)
>   at org.apache.catalina.valves.ErrorReportValve.invoke
>(ErrorReportValve.java:172)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:641)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardEngineValve.invoke
>(StandardEngineValve.java:174)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.coyote.tomcat4.CoyoteAdapter.service
>(CoyoteAdapter.java:223)
>   at org.apache.coyote.http11.Http11Processor.process
>(Http11Processor.java:405)
>   at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>ection(Http11Protocol.java:380)
>   at org.apache.tomcat.util.net.TcpWorkerThread.runIt
>(PoolTcpEndpoint.java:508)
>   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>(ThreadPool.java:533)
>   at java.lang.Thread.run(Thread.java:536)
>root cause
>
>java.lang.NoClassDefFoundError: org/apache/soap/SOAPException
>   at java.lang.Class.getDeclaredConstructors0(Native Method)
>   at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
>   at java.lang.Class.getConstructor0(Class.java:1762)
>   at java.lang.Class.newInstance0(Class.java:276)
>   at java.lang.Class.newInstance(Class.java:259)
>   at org.apache.catalina.core.StandardWrapper.loadServlet
>(StandardWrapper.java:892)
>   at org.apache.catalina.core.StandardWrapper.allocate
>(StandardWrapper.java:658)
>   at org.apache.catalina.core.StandardWrapperValve.invoke
>(StandardWrapperValve.java:214)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardContextValve.invoke
>(StandardContextValve.java:191)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardContext.invoke
>(StandardContext.java:2396)
>   at org.apache.catalina.core.StandardHostValve.invoke
>(StandardHostValve.java:180)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>(ErrorDispatcherValve.java:170)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:641)
>   at org.apache.catalina.valves.ErrorReportValve.invoke
>(ErrorReportValve.java:172)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:641)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.catalina.core.StandardEngineValve.invoke
>(StandardEngineValve.java:174)
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>keNext(StandardPipeline.java:643)
>   at org.apache.catalina.core.StandardPipeline.invoke
>(StandardPipeline.java:480)
>   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>   at org.apache.coyote.tomcat4.CoyoteAdapter.service
>(CoyoteAdapter.java:223)
>   at org.apache.coyote.http11.Http11Processor.process
>(Http11Processor.java:405)
>   at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>ection(Http11Protocol.java:380)
>   at org.apache.tomcat.util.net.TcpWorkerThread.runIt
>(PoolTcpEndpoint.java:508)
>   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>(ThreadPool.java:533)
>   at java.lang.Thread.run(Thread.java:536)
>
>---------------------------------------------------------------------------
>-----
>
>Apache Tomcat/4.1.12
>
>I had tried the Helloworld program as well and it's able to execute
>without any errors. I followed all the instructions from the book and I
>got the source code from your web site. I copy the jobresumerepository.war
>to %CATALINA_HOME%\webapps\; I copy the jobresumerepositorycommon.jar to %
>CATALINA_HOME%\common\lib\ and I copy the jobresumerepositoryservice.jar
>to %CATALINA_HOME%\webapps\soap\WEB-INF\lib\. I'll appreciate all your
>helps.
>
>
>Many thanks.
>
>Ivan.


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


  Return to Index