Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-817

IOException from WSM when attempting to serialize java.util.Calendar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Web Services (181)
    • None

    Description

      Several service control DRTs are failing when they call a web method which echo's back a java.util.Calendar object. I'm not sure if WSM or AXIS is at fault. The DRT in question is SoapMarshallingDocLitWrappedTest, the junit test is testEchoCalendar()

      To reproduce, uncomment junit test method in the above test and run the service control drts.

      Stack trace:

      • Exception:
        java.io.IOException: No serializer found for class sun.util.calendar.ZoneInfo in registry org.apache.axis.encoding.TypeMappingDelegate@148083b
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1420)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:912)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:700)
        at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1417)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:912)
        at org.apache.axis.message.RPCParam.serialize(RPCParam.java:197)
        at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
        at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:477)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at org.apache.axis.Message.writeTo(Message.java:519)
        at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327
        )
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:131)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
        at java.lang.Thread.run(Thread.java:595)
      • java.io.IOException:
        AxisFault
        faultCode: {http://schemas.xmlsoap.org/soap/envelope/}

        Server.userException faultSubcode:
        faultString: java.io.IOException: java.io.IOException: No serializer found for class sun.util.calendar.ZoneInfo in registry org.apache.axis.encoding.TypeMappingDelegate@148083b
        faultActor:
        faultNode:
        faultDetail:

        {http://xml.apache.org/axis/}

        stackTrace:java.io.IOException: java.io.IOException:
        No serializer found for class sun.util.calendar.ZoneInfo in registry org.apache.axis.encoding.TypeMappingDelegate@148083b
        at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
        at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1417)
        at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:912)
        at org.apache.axis.message.RPCParam.serialize(RPCParam.java:197)
        at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
        at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:477)
        at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at org.apache.axis.Message.writeTo(Message.java:519)
        at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327
        )
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:131)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
        at java.lang.Thread.run(Thread.java:595)

      {http://xml.apache.org/axis/}

      hostname:CSCHOETT01

      java.io.IOException: java.io.IOException: No serializer found for class sun.util.calendar.ZoneInfo in registry org.apache.axis.encoding.TypeMappingDelegate@148083b
      at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
      at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
      at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
      at org.apache.axis.Message.writeTo(Message.java:519)
      at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:131)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.IOException: java.io.IOException: No serializer found for class sun.util.calendar.ZoneInfo in registry org.apache.axis.encoding.TypeMappingDelegate@148083b
      at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
      at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1417)
      at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:912)
      at org.apache.axis.message.RPCParam.serialize(RPCParam.java:197)
      at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
      at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
      at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
      at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:477)
      at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
      at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
      ... 34 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            chad_s Chad Schoettger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: