<p dir="ltr">Hello Tom, </p>
<p dir="ltr">With a 5.1 server, all you need to do is use &quot;jdbc:mondrian4&quot; instead of &quot;jdbc:mondrian&quot; as the URL prefix and it should work out of the box. </p>
<p dir="ltr">Let us know if you run into any issues. </p>
<p dir="ltr">Luc</p>
<div class="gmail_quote">On Jun 27, 2014 6:38 AM, &quot;Tom Barber(Alabs)&quot; &lt;<a href="mailto:tom@analytical-labs.com">tom@analytical-labs.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alright chaps,<br>
<br>
I&#39;m trying to crowbar Mondrian 4 into the BI Server Saiku plugin and I<br>
would like some clarification of a few bits and pieces.<br>
<br>
We&#39;ve shipped our own Mondrian Jar and also done some funky cache<br>
sharing etc, anyway, I would like to ship Mondrian 4 and unsurprisingly<br>
its not as simple as just replacing the Jar.<br>
<br>
I would like to know<br>
<br>
a) is it even possible? I saw Julian&#39;s slide suggesting that the<br>
Mondrian 4 lib should run happily alongside Mondrian 3 as an OSGI module.<br>
b) To bootstrap Mondrian we currently run  Class.forName(<br>
&quot;mondrian.olap4j.MondrianOlap4jDriver&quot; ); but if have 2 Jars, how does<br>
is it supposed to know which to bootstrap, or should it load Mondrian 3,<br>
but Mondrian 4 be automatic or do I have to register the Mondrian 4 jar<br>
in a different manner?<br>
Either way I get<br>
java.lang.IllegalAccessError: class mondrian.olap4j.MondrianOlap4jExtra<br>
cannot access its superclass mondrian.xmla.XmlaHandler$XmlaExtraImpl<br>
<br>
The first time I try and run Saiku followed by<br>
java.lang.NoClassDefFoundError: Could not initialize class<br>
mondrian.olap4j.MondrianOlap4jDriver<br>
<br>
The next time, so I need work out how to unclash them if possible.<br>
<br>
I tried just straight replacing Mondrian 3 with Mondrian 4 in the<br>
platform out of curiosity but with that I get a linkage error so that<br>
test was also a no go.<br>
<br>
Anyway, hints or tips please.<br>
<br>
Thanks<br>
<br>
Tom<br>
_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
</blockquote></div>