axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rachna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5154) java.lang.NoSuchMethodError: org.apache.axis2.databinding.utils.ConverterUtil.compare(Ljava/math/BigInteger;Ljava/lang/String;)J
Date Sat, 24 Sep 2011 06:10:26 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113907#comment-13113907
] 

Rachna commented on AXIS2-5154:
-------------------------------

Following jar files came along with axis2-1.5.5 tool
axis2-kernel-1.5.5.jar
commons-logging-1.1.1.jar
geronimo-stax-api_1.0_spec-1.0.1.jar
wstx-asl-3.2.9.jar
wsdl4j-1.6.2.jar
XmlSchema-1.4.3.jar
axiom-impl-1.2.11.jar
axiom-dom-1.2.11.jar
axiom-api-1.2.11.jar
neethi-2.0.5.jar
commons-httpclient-3.1.jar
activation-1.1.jar
commons-fileupload-1.2.jar
woden-api-1.0M8.jar
woden-impl-dom-1.0M8.jar
httpcore-4.0.jar
axis2-adb-1.5.5.jar
commons-codec-1.3.jar
mail-1.4.jar

Following jar files are downloaded from internet to solve the exceptions that was thrown during
coding and testing process.
axis2-1.4.1.jar
backport-util-concurrent-2.1.jar

It will be great help if you can let me know what are the jar file versions to be used to
solve my problem.


> java.lang.NoSuchMethodError: org.apache.axis2.databinding.utils.ConverterUtil.compare(Ljava/math/BigInteger;Ljava/lang/String;)J
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5154
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5154
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.5
>         Environment: UNIX, JAVA
>            Reporter: Rachna
>              Labels: maven
>   Original Estimate: 468h
>  Remaining Estimate: 468h
>
> I downloaded axis2-1.5.5-bin from Internet and generated my stub using wsdl2java command.

> Everything is working fine when i am manually running the application using "java" command,
sending a request and getting a response from Server.
> When I am running the same application using Jar file using "java -jar AAA.jar "command,
getting the following exception.
> Exception in thread "Thread-0" java.lang.NoSuchMethodError: org.apache.axis2.databinding.utils.ConverterUtil.compare(Ljava/math/BigInteger;Ljava/lang/String;)J
>         at org.apache.axis2.axis2userguide.QuantumUAStub$ErrorCode_type1.setErrorCode_type0(QuantumUAStub.java:33419)
>         at org.apache.axis2.axis2userguide.QuantumUAStub$ErrorCode_type1$Factory.parse(QuantumUAStub.java:33786)
>         at org.apache.axis2.axis2userguide.QuantumUAStub$GetSubscriberResponse$Factory.parse(QuantumUAStub.java:34296)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.fromOM(QuantumUAStub.java)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1348)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:968)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:1577)
>         at java.lang.Thread.run(Thread.java:595)
> Tried lot of things like changing the jar files, but getting the same exception every
time. This method is there in the jar file, still throwing this error.
> My Manifest file is pasted below which contains all the jar files being used.
> Manifest-Version: 1.0
> Created-By: 1.5.0_05 (Sun Microsystems Inc.)
> Class-path: axis2-1.5.jar axis2-kernel-1.5.5.jar commons-logging-1.1.1.jar geronimo-stax-api_1.0_spec-1.0.1.jar
wstx-asl-3.2.9.jar wsdl4j-1.6.2.jar XmlSchema-1.4.3.jar axiom-impl-1.2.11.jar axiom-dom-1.2.11.jar
axiom-api-1.2.11.jar neethi-2.0.5.jar commons-httpclient-3.1.jar activation-1.1.jar commons-fileupload-1.2.jar
woden-api-1.0M8.jar woden-impl-dom-1.0M8.jar httpcore-4.0.jar axis2-adb-1.5.jar commons-codec-1.3.jar
mail-1.4.jar axis2-transport-local-1.5.jar axis2-transport-http-1.5.jar
> Main-Class: org.apache.axis2.axis2userguide.AAA_Broadhop
> Please help me to resolve this issue. The funtionality is working perfectly fine, only
above problem comes when I try to run the code after creating the jar file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message