Hi all,

Building Java Axis from the latest CVS Sources
I get a java.lang.IncompatibleClassChangeError Exception
in different places f.ex. when calling the  EchoHeader's 
(http://localhost:8080/axis/EchoHeaders.jws)
echo operation (see REQUEST and RESPONE) or using the AdminClient Tool

Build (target=war) was successfull, Axis deployment on Tomcat 5.0.19 
was successfull, HappyAxis is happy and calling  EchoHeader's list operation also 
performs fine.

Any hints what is going wrong here?

Thank you,

Michel Zedler

=============================================================
Here is what happens when calling http://localhost:8080/axis/EchoHeaders.jws:

REQUEST:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:m="http://DefaultNamespace"; 
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
  <SOAP-ENV:Body>
    <echo xmlns="http://DefaultNamespace";>
      <param xsi:type="xsd:string">foobar</param>
    </echo>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

RESPONSE:
<html><head><title>Apache Tomcat/5.0.19 - Error report</title><style>...</style> 
</head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade><p><b>type</b> Exception 
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered 
an internal error () that prevented it from fulfilling this 
request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet 
execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.IncompatibleClassChangeError
        org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1024)
        org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:118)
        
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1067)
        org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        javax.xml.parsers.SAXParser.parse(Unknown Source)
        
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:225)
        org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
        org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
        org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:637)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the 
Tomcat logs.</u></p><HR size="1" noshade><h3>Apache Tomcat/5.0.19</h3></body></html>

Reply via email to