axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt L" <mslw1...@fastmail.fm>
Subject Re: Trouble running axis2 examples
Date Mon, 24 Apr 2006 15:26:54 GMT
Ali,

Thank you for your tip to install ant on the machine and to run the
example client through ant. I have done this, but it still doesn't work.
Please see below. 

As before, I have MyService.aar installed and appearing under the
ListServices page of Tomcat:

/usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/services$
jar tf MyService.aar
META-INF/
META-INF/MANIFEST.MF
META-INF/services.xml
userguide/
userguide/example1/
userguide/example1/MyService.class

When I run the command you suggested, here's what happens:

~/axis095/dist/samples/userguide$ ant testEchoBlockingClient
Buildfile: build.xml

testEchoBlockingClient:
     [java] org.apache.axis2.AxisFault: org.apache.axis2.AxisFault:
     userguide.example1.MyService; nested exception is:
     [java]     java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
     [java]     at
     org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
     [java]     at
     org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
     [java]     at
     org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
     [java]     at
     org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
     [java]     at
     org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     [java]     at
     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     [java]     at
     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     [java]     at
     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     [java]     at
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     [java]     at
     org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     [java]     at
     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     [java]     at
     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     [java]     at
     org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     [java]     at
     org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     [java]     at
     org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     [java]     at
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     [java]     at java.lang.Thread.run(Thread.java:595)
     [java] Caused by: java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native
     Method)
     [java]     at
     java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at
     org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at
     java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:242)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
     [java]     ... 22 more
     [java] ; nested exception is:
     [java]     java.lang.Exception: org.apache.axis2.AxisFault:
     userguide.example1.MyService; nested exception is:
     [java]     java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
     [java]     at
     org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
     [java]     at
     org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
     [java]     at
     org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
     [java]     at
     org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
     [java]     at
     org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     [java]     at
     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     [java]     at
     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     [java]     at
     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     [java]     at
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     [java]     at
     org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     [java]     at
     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     [java]     at
     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     [java]     at
     org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     [java]     at
     org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     [java]     at
     org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     [java]     at
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     [java]     at java.lang.Thread.run(Thread.java:595)
     [java] Caused by: java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native
     Method)
     [java]     at
     java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at
     org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at
     java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:242)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
     [java]     ... 22 more

     [java]     at
     org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:276)
     [java]     at
     org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:445)
     [java]     at
     org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:400)
     [java]     at
     userguide.clients.EchoBlockingClient.main(EchoBlockingClient.java:48)
     [java] Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
     userguide.example1.MyService; nested exception is:
     [java]     java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
     [java]     at
     org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
     [java]     at
     org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
     [java]     at
     org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
     [java]     at
     org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
     [java]     at
     org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     [java]     at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     [java]     at
     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     [java]     at
     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     [java]     at
     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     [java]     at
     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     [java]     at
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     [java]     at
     org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     [java]     at
     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     [java]     at
     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     [java]     at
     org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     [java]     at
     org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     [java]     at
     org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     [java]     at
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     [java]     at java.lang.Thread.run(Thread.java:595)
     [java] Caused by: java.lang.ClassNotFoundException:
     userguide.example1.MyService
     [java]     at
     java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native
     Method)
     [java]     at
     java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at
     org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at
     java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:242)
     [java]     at
     org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
     [java]     ... 22 more

     [java]     at
     org.apache.ws.commons.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:137)
     [java]     at
     org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:272)
     [java]     ... 3 more

BUILD SUCCESSFUL
Total time: 3 seconds




On Tue, 18 Apr 2006 09:26:48 -0700, "Matt L" <mslw1229@fastmail.fm>
said:
> Hello,
> 
> I have installed tomcat 5.5.16 on Slackware Linux and installed axis2
> 0.95 within tomcat. I can view the axis2 page from a browser and have
> successfully validated the installation. The example services MyService
> and Version are available from the server. That is, I ran
> ~/webservices/axis095/dist/samples/userguide$ sudo cp *.aar \
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/services/
> 
> I can compile all of the .java files under
> samples/userguide/src/userguide/clients from the standard distribution.
> I want to run the EchoBlockingClient or EchoBlockingDualClient sample,
> but I get the output below.
> 
> Thank you for your help,
> Matt
> 
> ---------------------------
> ~/webservices/axis095/dist/samples/userguide$ echo $CLASSPATH | sed -e
> 's/:/\n/g'
> .
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/XmlSchema-SNAPSHOT.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/annogen-0.1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axiom-api-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axiom-impl-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axis-wsdl4j-1.2.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axis2-adb-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axis2-codegen-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axis2-doom-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/axis2-kernel-0.95.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/backport-util-concurrent-2.0_01_pd.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/commons-codec-1.3.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/commons-fileupload-1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/commons-httpclient-3.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/commons-logging-1.0.4.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/geronimo-spec-activation-1.0.2-rc4.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/geronimo-spec-javamail-1.3.1-rc5.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/geronimo-spec-jms-1.1-rc4.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/jaxen-1.1-beta-7.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/jaxme2-0.5.1.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/jaxmejs-0.5.1.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/jaxmexs-0.5.1.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/log4j-1.2.13.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/maven-itest-plugin-1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/policy-1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/servletapi-2.3.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/stax-api-1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/wstx-asl-2.8.2.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/xbean-2.1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/xercesImpl-2.7.1.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/xml-apis-1.3.02.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/lib/xmlunit-1.0.jar
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2.war
> /usr/local/webservices/ext_lib/addressing-0.95.mar
> /home/mleinho/webservices/axis095/dist/samples/userguide/src
> /home/mleinho/webservices
> 
> ~/webservices/axis095/dist/samples/userguide$ jar tf \
> /usr/local/webservices/apache-tomcat-5.5.16/webapps/axis2/WEB-INF/services/MyService.aar
> META-INF/
> META-INF/MANIFEST.MF
> META-INF/services.xml
> userguide/
> userguide/example1/
> userguide/example1/MyService.class
> 
> ~/webservices/axis095/dist/samples/userguide$ java
> userguide.clients.EchoBlockingClient
> org.apache.axis2.AxisFault: org.apache.axis2.AxisFault:
> userguide.example1.MyService; nested exception is:
>         java.lang.ClassNotFoundException: userguide.example1.MyService
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
>         at
>         org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>         at
>         org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>         at
>         org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
>         at
>         org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
>         at
>         org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
>         org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
>         org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
>         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException:
> userguide.example1.MyService
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
>         org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
>         ... 22 more
> ; nested exception is:
>         java.lang.Exception: org.apache.axis2.AxisFault:
>         userguide.example1.MyService; nested exception is:
>         java.lang.ClassNotFoundException: userguide.example1.MyService
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
>         at
>         org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>         at
>         org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>         at
>         org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
>         at
>         org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
>         at
>         org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
>         org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
>         org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
>         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException:
> userguide.example1.MyService
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
>         org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
>         ... 22 more
> 
>         at
>         org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:276)
>         at
>         org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:445)
>         at
>         org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:400)
>         at
>         userguide.clients.EchoBlockingClient.main(EchoBlockingClient.java:48)
> Caused by: java.lang.Exception: org.apache.axis2.AxisFault:
> userguide.example1.MyService; nested exception is:
>         java.lang.ClassNotFoundException: userguide.example1.MyService
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:267)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:59)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:89)
>         at
>         org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>         at
>         org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>         at
>         org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:408)
>         at
>         org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:288)
>         at
>         org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
>         org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
>         org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
>         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException:
> userguide.example1.MyService
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
>         org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:123)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at
>         org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:51)
>         ... 22 more
> 
>         at
>         org.apache.ws.commons.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:137)
>         at
>         org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:272)
>         ... 3 more
> 
> ~/webservices/axis095/dist/samples/userguide$ java
> userguide.clients.EchoBlockingDualClient
> org.apache.axis2.AxisFault
>         at
>         org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:437)
>         at
>         org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:400)
>         at
>         userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:53)
> [SimpleHTTPServer] Stop called
> -- 
>   Matt L
>   mslw1229@fastmail.fm
> 
> -- 
> http://www.fastmail.fm - Same, same, but differentÂ…
> 
-- 
  Matt L
  mslw1229@fastmail.fm

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


Mime
View raw message