2 Replies Latest reply on Nov 27, 2015 6:21 AM by Micheal Delson Nadar

    posting data issue in chrome and wildfly-9.0.2.Final

    Micheal Delson Nadar Newbie

      Environment : rhel6.3, java jre 7, wildfly-9.0.2.Final with birt deployed in domain mode, Chrome


      Birt report execution fails in Chrome with below in alert box


           org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.


      It works fine if the criteria parameter is passed along with url example

      http://localhost/birt/frameset?__report=test.rptdesign&__format=pdf&idref=99999

      and it fails if we post the parameter after calling the birt parameter window

      http://localhost/birt/frameset?__report=test.rptdesign


      The above issue is faced only in Chrome and it works fine with FF and IE.

        • 1. Re: posting data issue in chrome and wildfly-9.0.2.Final
          Martin Choma Expert

          I doubt, that wildfly is causing this. Try post on birt forum. Maybe some javascript involved in parameter window causing incompatibilities among browsers? Try to catch and compare requests from Chrome and FF.

          • 2. Re: posting data issue in chrome and wildfly-9.0.2.Final
            Micheal Delson Nadar Newbie

            More information --> This same works fine with jboss-eap-6.3.0.Alpha and chrome, so issue is triggered only in WF.

             

            Looks closed to this issue --> https://issues.jboss.org/browse/UNDERTOW-331

             

            I tried enabling the debug log in WF and get the below

             

            2015-11-27 18:00:41,912 DEBUG [org.apache.axis.EXCEPTIONS] (default task-6) AxisFault:: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

              at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

              at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)

              at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

              at org.apache.axis.server.AxisServer.invoke(AxisServer.java:266)

              at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:225)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

              at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112)

              at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

              at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)

              at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)

              at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

              at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

              at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)

              at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

              at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

              at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

              at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

              at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

              at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

              at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

              at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

              at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)

              at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

              at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

              at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

              at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)

              at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)

              at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)

              at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)

              at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

              at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

              at java.lang.Thread.run(Thread.java:745)

            Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)

              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)

              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)

              at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1019)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)

              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

              at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

              at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

              at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)

              at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

              at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

              ... 40 more