US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: XMLA Discover unparse results error fault actor=Mondrian

  1. #1
    Join Date
    Sep 2013
    Posts
    8

    Default XMLA Discover unparse results error fault actor=Mondrian

    Hi,

    I am trying to enable XMLA output for mondrian. I have configured (to my best knowledge) everything and deployed the mondrian.war file. When accessing XMLA using link "JPivot pivot table by XMLA" (http://localhost:8080/mondrian/testpage.jsp?query=xmla), I got I am getting following exception:

    javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:

    javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
    at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:243)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
    at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:724)
    Caused by: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
    at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspService(xmla_jsp.java:79)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:809)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:626)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:556)
    at com.tonbeller.wcf.utils.IncludeTag.doStartTag(IncludeTag.java:59)
    at org.apache.jsp.testpage_jsp._jspx_meth_wcf_include_0(testpage_jsp.java:263)
    at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:123)
    ... 36 more
    Caused by: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover(XMLA_SOAP.java:1453)
    at com.tonbeller.jpivot.xmla.XMLA_SOAP.discoverDim(XMLA_SOAP.java:342)
    at com.tonbeller.jpivot.xmla.XMLA_Model.initCubeMetaData(XMLA_Model.java:737)
    at com.tonbeller.jpivot.xmla.XMLA_Model.initialize(XMLA_Model.java:173)
    at com.tonbeller.jpivot.olap.model.OlapModelDecorator.initialize(OlapModelDecorator.java:132)
    at com.tonbeller.jpivot.tags.OlapModelProxy$MyState.initialize(OlapModelProxy.java:77)
    at com.tonbeller.jpivot.tags.StackStateManager.initializeAndShow(StackStateManager.java:76)
    at com.tonbeller.jpivot.tags.OlapModelProxy.initializeAndShow(OlapModelProxy.java:160)
    at com.tonbeller.jpivot.tags.OlapModelTag.doEndTag(OlapModelTag.java:81)
    at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspx_meth_jp_xmlaQuery_0(xmla_jsp.java:120)
    at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspService(xmla_jsp.java:67)
    ... 50 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
    at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
    at com.tonbeller.jpivot.xmla.XMLA_SOAP.soapFault(XMLA_SOAP.java:1606)
    at com.tonbeller.jpivot.xmla.XMLA_SOAP.errorCheck(XMLA_SOAP.java:1482)
    at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover(XMLA_SOAP.java:1436)
    ... 60 more
    Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
    org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.


    To handle this exception, I removed xalan.jar file in WEB-INF/lib directory. After removing this file, I got another exception as following:

    JPivot had an error ...

    javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: Soap Fault code=SOAP-ENV:Server.00HSBE02 fault string=XMLA Discover unparse results error fault actor=Mondrian detail:

    javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: Soap Fault code=SOAP-ENV:Server.00HSBE02 fault string=XMLA Discover unparse results error fault actor=Mondrian
    detail:
    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
    at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:243)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
    at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:724)


    How to fix this issue?

    Thanks
    Chir

  2. #2
    Join Date
    Jan 2013
    Posts
    354

    Default

    Have you tried the "XMLA for Analysis tester" page? If not, I'd give that a try and see what errors you get. In particular, try running the discoverDataSources request.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •