The error is solved. It was the incompatibilities with the jars that axis needs.
 
Thanks
Kiran

Matthew Menefee <[EMAIL PROTECTED]> wrote:

I just delt with this error.  Someone pointed me to the fact that when I compile my code, I use different versions of certain software at runtime.  You might also see NoSuchMethodError at some point.

 

I was using JRun4 as my app server and JRun was loading Axis 1.1, and I was compiling with Axis 1.2.  Make sure that our server is not loading JARS from different versions at runtime.  If so, your server should have some mechanism that would allow you to load the web apps classpath first, then the server classpath.

 

 


From: kiran kumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 4:30 AM
To: axis
Subject: IncompatibleClassChangeError whenever a soap service is called.

 

Hi,

  Whenever i try to call a soap service i get a java.lang.IncompatibleClassChangeError. The soap response is given below. The versions of axis(1.2) is the same on both server and client, and i am using the same JVM. The server is running on Resin 3.0.8. Could anyone please help me out.

 

 

HTTP/1.0 500 Internal Server Error

Server: Resin/3.0.8

Content-Type: text/xml; charset=utf-8

Date: Thu, 10 Nov 2005 10:00:05 GMT

 

<?xml version="1.0" encoding="utf-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <soapenv:Fault>
            <faultcode>soapenv:Server.generalException</faultcode>
            <faultstring>java.lang.IncompatibleClassChangeError; nested exception is:  java.lang.IncompatibleClassChangeError</faultstring>
            <detail>
               <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">in-w2kzenn27</ns1:hostname>
            </detail>
         </soapenv:Fault>
      </soapenv:Body>
   </soapenv:Envelope>

 

 


Yahoo! FareChase - Search multiple travel sites in one click.


Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to