axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-1146) ClassNotFoundException occured while testing the EchoBlockingClient
Date Sun, 01 Oct 2006 15:40:20 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1146?page=all ]

Davanum Srinivas resolved AXIS2-1146.
-------------------------------------

    Resolution: Fixed

Please try nightly. Should be fixed. Otherwise let us know and we can reopen the issue.

thanks,
dims

> ClassNotFoundException occured while testing the EchoBlockingClient
> -------------------------------------------------------------------
>
>                 Key: AXIS2-1146
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1146
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: Windows XP,  Maven 1.0.2,  jdk1.5.0_08
>            Reporter: Evanthika Amarasiri
>            Priority: Critical
>
> I was trying out the examples given in the "Writing Web Services Using Axis2's Primary
APIs" of the User's Guide.
> According to the steps given in the User's Guide, I created the MyService.aar file with
the MyService.java file packaged along with the service.xml and it allowed me to do so.
> Then I deployed the MyService.aar file and the service was deployed successfully.
> After that I was trying to test the EchoBlockingClient example. For that, I tried to
build the ant file which was given in the "Axis2Home/samples/userguide" directory and it threw
the following exception
> testEchoBlockingClient:
>      [java] Sep 13, 2006 3:28:56 PM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Sep 13, 2006 3:28:56 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>      [java] INFO: Deploying module : addressing
>      [java] Sep 13, 2006 3:28:56 PM org.apache.axis2.engine.AxisEngine receiveFault
>      [java] INFO: Received Error Message with id urn:uuid:A64DEA4609774E82E911581415366561
>      [java] org.apache.axis2.AxisFault: userguide.example1.MyService
>      [java]     at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:298)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539)
>      [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:473)
>      [java]     at userguide.clients.EchoBlockingClient.main(EchoBlockingClient.java:42)
>      [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:318)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:99)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:131)
>      [java]     at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>      [java]     at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>      [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
>      [java]     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:309)
>      [java]     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:201)
>      [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(Unknown Source)
>      [java] Caused by: java.lang.ClassNotFoundException: userguide.example1.MyService
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at java.security.AccessController.doPrivileged(Native Method)
>      [java]     at java.net.URLClassLoader.findClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>      [java]     at java.lang.Class.forName0(Native Method)
>      [java]     at java.lang.Class.forName(Unknown Source)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:91)
>      [java]     ... 22 more
>      [java]     at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
>      [java]     ... 4 more
> testEchoBlockingDualClient:
>      [java] Sep 13, 2006 3:28:57 PM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Sep 13, 2006 3:28:57 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
>      [java] INFO: Deploying module : addressing
>      [java] Sep 13, 2006 3:28:57 PM org.apache.axis2.transport.http.server.DefaultConnectionListener
run
>      [java] INFO: Listening on port 6060
>      [java] Sep 13, 2006 3:28:58 PM org.apache.axis2.engine.AxisEngine receiveFault
>      [java] INFO: Received Error Message with id null
>      [java] org.apache.axis2.AxisFault: userguide.example1.MyService
>      [java]     at org.apache.axis2.util.CallbackReceiver.receive(CallbackReceiver.java:65)
>      [java]     at org.apache.axis2.engine.AxisEngine.receiveFault(AxisEngine.java:591)
>      [java]     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:322)
>      [java]     at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:238)
>      [java]     at org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:179)
>      [java]     at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)
>      [java]     at org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:251)
>      [java]     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>      [java]     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [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:318)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:99)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:131)
>      [java]     at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:73)
>      [java]     at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>      [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
>      [java]     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:309)
>      [java]     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:201)
>      [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(Unknown Source)
>      [java] Caused by: java.lang.ClassNotFoundException: userguide.example1.MyService
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at java.security.AccessController.doPrivileged(Native Method)
>      [java] [SimpleHTTPServer] Stop called
>      [java]     at java.net.URLClassLoader.findClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>      [java]     at java.lang.Class.forName0(Native Method)
>      [java]     at java.lang.Class.forName(Unknown Source)
>      [java]     at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:91)
>      [java]     ... 22 more
>      [java]     at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
>      [java]     ... 10 more
>      [java] Sep 13, 2006 3:28:58 PM org.apache.axis2.transport.http.server.SimpleHttpServer
destroy
>      [java] INFO: Shut down connection listener
>      [java] Sep 13, 2006 3:28:58 PM org.apache.axis2.transport.http.server.SimpleHttpServer
destroy
>      [java] INFO: Shut down HTTP processors
>      [java] Sep 13, 2006 3:29:01 PM org.apache.axis2.transport.http.server.SimpleHttpServer
destroy
>      [java] INFO: Force shut down HTTP processors
>      [java] Sep 13, 2006 3:29:01 PM org.apache.axis2.transport.http.server.SimpleHttpServer
destroy
>      [java] INFO: HTTP protocol handler shut down

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message