0 Replies Latest reply on Apr 24, 2006 4:52 PM by Amarish Khopkar

    getting weird IncompatibleClassChangeError when invoking JBo

    Amarish Khopkar Newbie

      Hi guys,

      I am using jboss 4.0.3SP1. I have deployed an ear that is using an ejb as a web-service. I was able to use the wscompile to generate the wsdl fine and am also able to see the .wsdl file when I click on the link from ws4ee/services.

      However, when I actually invoke the webservice using a web-service client, I'm getting a weird server side error that I have pasted below. Seems to be some kind of axis conflict. I am using axis in a different war file in the .ear file for something else, and I'm not sure if this is causing this conflict. Any insight on this would be deeply appreciated.

      Here's the exception:


      16:15:29,757 FATAL [SOAPHeaderAxisImpl] Exception:
      javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: java.lang.IncompatibleClassChangeError
      at org.jboss.axis.message.SOAPHeaderAxisImpl.setParentElement(SOAPHeaderAxisImpl.java:92)
      at org.jboss.axis.message.SOAPHeaderAxisImpl.(SOAPHeaderAxisImpl.java:60)
      at org.jboss.axis.message.SOAPEnvelopeAxisImpl.(SOAPEnvelopeAxisImpl.java:151)
      at org.jboss.axis.message.SOAPEnvelopeAxisImpl.(SOAPEnvelopeAxisImpl.java:133)
      at org.jboss.axis.message.EnvelopeBuilder.(EnvelopeBuilder.java:86)
      at org.jboss.axis.encoding.DeserializationContextImpl.(DeserializationContextImpl.java:193)
      at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:677)
      at org.jboss.axis.MessagePart.getEnvelope(MessagePart.java:1103)
      at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:59)
      at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.xml.soap.SOAPException: java.lang.IncompatibleClassChangeError
      at org.jboss.axis.message.SOAPElementAxisImpl.setParentElement(SOAPElementAxisImpl.java:1521)
      at org.jboss.axis.message.SOAPHeaderAxisImpl.setParentElement(SOAPHeaderAxisImpl.java:87)
      ... 31 more
      Caused by: java.lang.IncompatibleClassChangeError
      at org.jboss.axis.message.SOAPElementAxisImpl$ChildElementList.getDebugStr(SOAPElementAxisImpl.java:2098)
      at org.jboss.axis.message.SOAPElementAxisImpl$ChildElementList.add(SOAPElementAxisImpl.java:2040)
      at org.jboss.axis.message.SOAPElementAxisImpl.addChild(SOAPElementAxisImpl.java:561)
      at org.jboss.axis.message.SOAPElementAxisImpl.setParent(SOAPElementAxisImpl.java:938)
      at org.jboss.axis.message.SOAPElementAxisImpl.setParentElement(SOAPElementAxisImpl.java:1517)
      ... 32 more




      Amarish