Search code examples
tomcatmondrian

Install latest Mondrian on Tomcat


I am a little lost. I want to install Mondrian on a tomcat server. However the documentation is heavily outdated. It still refers to the .war file which is discontinued for a long time.
I do not want to install an old version but I cannot find anything on how to install Mondrian in its latest version.

I am aware of xMondrian but there has to be a way to install the original Mondrian! Or am I missing something?

Can anybody help me?

("War never changes." doesnt seem to aply here :) )


Solution

  • You can use xMondrian.war to run latest mondrian. Follow these steps

    1) Download xMondrian.war, put it in your tomcat webapps directory.
    2) remove mondrian-.jar from xmondrian libs folder.
    3) download latest mondrian jar (say mondrian 4.4) and put it in libs.
    4) clone https://github.com/olap4j/olap4j-xmlaserver in separate location and build jar with master branch.
    5) copy generated olap4j-xmlaserver jar to xmondrian libs folder.
    6) configure your datasource.xml
    7) restart tomcat.

    Done

    You can now use xmla interface or whatever client available in xmondrian war to connect cubes