Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2913

SAXException when running webservice which is apparently random

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Labels:
      None

      Description

      Hi, we have a proxy servlet in web project which use axis 1.4 client to call web services. In our web page, we use a javascript loop to call the servlet, it will call the servlet infinitely until the service call failed.

      If we open multiple web page the service call will failed randomly.The frequency is about one failed call with 1000 success calls.

      And we have rule out the possibility of multithreading problem by adding concurrent code.

      Also we defined our own deserializers and serializers for ServiceContainerImpl bean

      org.xml.sax.SAXException: Invalid element in com.ibm.javart.services.ServiceContainerImpl - sapSalesPersonNumber
      at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
      at org.apache.axis.client.Call.invoke(Call.java:2467)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at com.ibm.javart.services.WebProxy.invoke(WebProxy.java:199)
      at com.ibm.javart.services.WebProxy.ezeInvoke(WebProxy.java:134)
      at com.ibm.javart.services.RestServiceDelegate.invokeService(RestServiceDelegate.java:455)
      at com.ibm.javart.services.RestServiceDelegate.invokeSoapService(RestServiceDelegate.java:529)
      at com.ibm.javart.services.ProxyEventHandler.soapServiceCall(ProxyEventHandler.java:401)
      at com.ibm.javart.services.ProxyEventHandler.runProxy(ProxyEventHandler.java:140)
      at com.ibm.javart.services.ProxyEventHandler.runProxy(ProxyEventHandler.java:90)
      at com.ibm.javart.services.RestServiceServlet.doHttp(RestServiceServlet.java:178)
      at com.ibm.javart.services.RestServiceServlet.doPost(RestServiceServlet.java:104)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.ibm.javart.util.gzip.CompressionFilter.doFilter(CompressionFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              JerryFly Jerry Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: