axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Krishnaswamy (JIRA)" <>
Subject [jira] Commented: (AXIS2-3267) Axis2 SAAJ implementation included in Geronimo 2.0.1 - class cast bug when unmarshalling
Date Mon, 04 Jan 2010 20:31:54 GMT


Sridhar Krishnaswamy commented on AXIS2-3267:

I am running into the same issue with Geronimo 2.1.4. Please help.

> Axis2 SAAJ implementation included in Geronimo 2.0.1 - class cast bug when unmarshalling
> ----------------------------------------------------------------------------------------
>                 Key: AXIS2-3267
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>         Environment: Geronimo 2.0.1 on JDK6 on RHEL3
>            Reporter: Paul Anderson
>            Assignee: Rich Scheuerle
>            Priority: Minor
>             Fix For: 1.4
> I've hit trouble moving my JAXB-unmarshalled web service (based on Spring Web Services
1.0.0) from Tomcat 5.5.23 to Geronimo 2.0.1; stack trace below. I used JDK6 on Linux for both
TC and Geronimo.
> I stripped the web service .war down to use dummy empty implementations of everything,
with no extra jar's, so that only the unmarshalling was causing a problem.
> (I generate my JAXB classes with JDK wsimport on the command line and include them in
WEB-INF/classes, so unlike for Axis2 and CXF they don't include Geronimo machinery-maybe this
is a problem.)
> The problem seems to be because of Geronimo's Axis 2 SAAJ implementation. If I use -Dorg.apache.geronimo.saaj.provider=sun,
all is well.
> 16:33:04,183 WARN [SoapMessageDispatcher] Endpoint invocation resulted in exception -
responding with SOAP Fault
> java.lang.ClassCastException: org.apache.axiom.soap.impl.dom.SOAPMessageImpl cannot be
cast to
> at org.apache.axis2.saaj.NodeImplEx.toSAAJNode2(NodeI at org.apache.axis2.saaj.NodeImplEx.toSAAJNode(NodeIm at org.apache.axis2.saaj.SOAPElementImpl.getParentEle ment(
at org.apache.axis2.saaj.SOAPElementImpl.getParentNod e( at com.sun.xml.bind.unmarshaller.DOMScanner.buildName
spaceSupport( at com.sun.xml.bind.unmarshaller.DOMScanner.buildName spaceSupport(
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMS at com.sun.xml.bind.v2.runtime.unmarshaller.Unmarshal
> at com.sun.xml.bind.v2.runtime.unmarshaller.Unmarshal lerImpl.unmarshal(
> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.un marshal(
> at org.springframework.oxm.jaxb.Jaxb2Marshaller.unmar shal(
at marshal( at shallingMethodEndpointAdapter.unmarshalRequest(Mar
> at shallingMethodEndpointAdapter.invokeInternal(Marsh
> at tractMethodEndpointAdapter.invoke(AbstractMethodEn at spatch(
> at ceive(
at eMessageReceiverObjectSupport.handleConnection(Web
> at ssageReceiverHandlerAdapter.handle(WebServiceMessa at tcherServlet.doService(MessageDispatcherServlet.ja
va:158) at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(
> at org.springframework.web.servlet.FrameworkServlet.d oPost(
at javax.servlet.http.HttpServlet.service(HttpServlet .java:713) at javax.servlet.http.HttpServlet.service(HttpServlet
.java:806) at ternalDoFilter(
> at Filter(
> at org.apache.catalina.core.StandardWrapperValve.invo ke(
at org.apache.catalina.core.StandardContextValve.invo ke( at
org.apache.geronimo.tomcat.valve.DefaultSubjectVal ve.invoke(
> at org.apache.geronimo.tomcat.GeronimoStandardContext $SystemMethodValve.invoke(GeronimoStandardContext.
java:351) at org.apache.geronimo.tomcat.valve.GeronimoBeforeAft erValve.invoke(
> at org.apache.catalina.core.StandardHostValve.invoke( at
org.apache.catalina.valves.ErrorReportValve.invoke ( at org.apache.catalina.core.StandardEngineValve.invok
e( at org.apache.catalina.valves.AccessLogValve.invoke(A
at org.apache.catalina.connector.CoyoteAdapter.servic e( at org.apache.coyote.http11.Http11Processor.process(H at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(
> at$ at

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message