[Mondrian] XML/A problems

Pappyn Bart Bart.Pappyn at vandewiele.com
Thu Apr 14 06:10:08 EDT 2011


Hi,

 

After some years of using mondrian 2.3, I have resources again to pick
up with the latest version of Mondrian.

 

I am very pleased to see that my schema is taken over without major
problems !

 

Everything works with native mode connection, but fail with xml/a.

 

The latest version of Mondrian runs on the same server as the old one,
using tomcat 5.5 and jdk 1.5.

 

There are strange problems with the soap communication : Unable to
internalize message.

 

I have attached a debugger, but cannot determine the cause of the
problems.

 

Any suggestions on how to get xml/a up and running ?

 

Thanks,

Bart Pappyn

 

Here is a snapshot of the log :

 

Mondrian side :

 
------------------------------------------------------------------------
-----

 13 apr 2011 12:17:31,808 ERROR [Session ]
mondrian.xmla.XmlaServlet#doPost: Unknown Error when handling XML/A
message

 java.lang.IllegalArgumentException: Accept header 'text/html,
image/gif, image/jpeg, *; q=.2, */*; q=.2' is not a supported response
content type. Allowed values: text/xml, application/xml,
application/json.

 at mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:248)

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

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

 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)

 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)

 at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)

 at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)

 at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)

 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)

 at java.lang.Thread.run(Unknown Source)

 
------------------------------------------------------------------------
-----

 Client (Jpivot side)

 
------------------------------------------------------------------------
-----

 javax.xml.soap.SOAPException: Invalid Content-Type:text/html

 at
com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:161)

 at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:89)

 at
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Message
FactoryImpl.java:32)

 at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPCo
nnection.java:332)

 at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost
.run(HttpSOAPConnection.java:141)

 at java.security.AccessController.doPrivileged(Native Method)

 at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPCo
nnection.java:114)

 at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover(XMLA_SOAP.java:1429)

 at com.tonbeller.jpivot.xmla.XMLA_SOAP.discoverDS(XMLA_SOAP.java:641)

 at com.tonbeller.jpivot.xmla.XMLA_SOAP.<init>(XMLA_SOAP.java:95)

 at com.tonbeller.jpivot.xmla.XMLA_Model.initialize(XMLA_Model.java:144)

 at
com.tonbeller.jpivot.olap.model.OlapModelDecorator.initialize(OlapModelD
ecorator.java:132)

 at
com.tonbeller.jpivot.tags.OlapModelProxy$MyState.initialize(OlapModelPro
xy.java:77)

 at
com.tonbeller.jpivot.tags.StackStateManager.initializeAndShow(StackState
Manager.java:76)

 at
com.tonbeller.jpivot.tags.OlapModelProxy.initializeAndShow(OlapModelProx
y.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(xm
la_jsp.java:117)

 at
org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspService(xmla_jsp.java:66
)

 

________________________________

NV Michel Van de Wiele
Bart Pappyn
R&D We at velink Project engineer
Email: bart.pappyn at vandewiele.com <mailto:bart.pappyn at vandewiele.com> 

URL: http://www.vandewielegroup.com <http://www.vandewielegroup.com/>  

 

NV Michel Van de Wiele

Michel Vandewielestraat 7

8510 Kortrijk (Marke)

BTW BE 0405 450 595

RPR Kortrijk

________________________________

Van de Wiele Company or its affiliates do not accept legal
responsibility for the contents of this message. The views or opinions
presented are solely those of the author and do not necessarily
represent those of Van de Wiele Company or any of its affiliates.

________________________________

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110414/6558d812/attachment.html 


More information about the Mondrian mailing list