You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by dgupta413 <De...@verizonwireless.com> on 2011/04/05 18:48:57 UTC

org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteService

I am trying to run the axiom StockQuoteService sample as provided in the
axis2-1.2 download. the AXIOMClient.java  runs fine under tomcat 6.x and jre
6.x on my PC. 

After that I try to deploy the StockQuoteService.aar file on the tomcat
running in a solaris m/c. The version of tomcat, jre are the same. I matched
all the axis2*.jars and the axiom-*.jars in the axis2/lib and tomcat/lib. I
am able to have the access to the services page
(http://<ip>:8080/axis2/services.., and display the wsdl file for the
StockQuoteService using the URL.

But When I try to use the service using the AXIOMClient.java, it gives the
following exception:

[java] send getPricePayload: <tns:getPrice
xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol></tns:getPrice>
     [java] send updatePayload: <tns:update
xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol><tns:price>123.42</tns:price></tns:update>
     [java] done
     [java] org.apache.axis2.AxisFault:
samples.quickstart.service.axiom.StockQuoteService
     [java] 	at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
     [java] 	at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
     [java] 	at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
     [java] 	at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
     [java] 	at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
     [java] 	at
samples.quickstart.clients.AXIOMClient.main(AXIOMClient.java:73)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
     [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
     [java] 	at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java] 	at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java] 	at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [java] 	at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java] 	at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java] 	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java] 	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
     [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
     [java] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] 	at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] 	at org.apache.tools.ant.Target.execute(Target.java:357)
     [java] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java] 	at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [java] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java] 	at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
     [java] 	at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

Both the client and the server code is unchanged. The application runs fine
on my PC but gives the above error on the solaris m/c. Can somebody give me
some pointers what to look for?

Thanks in advance
Deepak
-- 
View this message in context: http://old.nabble.com/org.apache.axis2.AxisFault%3A-samples.quickstart.service.axiom.StockQuoteService-tp31326112p31326112.html
Sent from the Axis - User mailing list archive at Nabble.com.


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