<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=888013020-03032007><FONT face=Verdana
color=#000080 size=2>The '<FONT face="Times New Roman" color=#000000
size=3>Enclosure class <SPAN class=st id=st name="st">mondrian</SPAN>.<SPAN
class=st id=st name="st">olap</SPAN>.<SPAN class=st id=st
name="st">MondrianDef</SPAN> not found</FONT></FONT></SPAN><SPAN
class=888013020-03032007><SPAN class=888013020-03032007><FONT face=Verdana
color=#000080 size=2>' error is not one I've seen before. I don't think it means
that mondrian.olap.MondrianDef.class is not on the classpath -- I think that
there is an error in the format of your <catalog>.xml file. For instance,
if you try running with foodmart.xml, I think you'll find that error goes
away.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=888013020-03032007><SPAN class=888013020-03032007><FONT
face=Verdana color=#000080 size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=888013020-03032007><SPAN class=888013020-03032007><FONT
face=Verdana color=#000080 size=2>Julian</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mondrian-bounces@pentaho.org
[mailto:mondrian-bounces@pentaho.org] <B>On Behalf Of </B>Laurent
Valdes<BR><B>Sent:</B> Saturday, March 03, 2007 8:44 AM<BR><B>To:</B>
mondrian@pentaho.org<BR><B>Subject:</B> [Mondrian] Re: Mondrian in my Java
Program<BR></FONT><BR></DIV>
<DIV></DIV>Sorry, I tested my JDBC string several times.<BR>Enclosure class
<SPAN class=st id=st name="st">mondrian</SPAN>.<SPAN class=st id=st
name="st">olap</SPAN>.<SPAN class=st id=st name="st">MondrianDef</SPAN> not
found. <BR>and the class does exist since I have done Class.forClass to check
for its existence.<BR><BR>Have a good day !<BR><BR><BR>
<DIV><SPAN class=gmail_quote>2007/3/2, Laurent Valdes <<A
href="mailto:valderama@gmail.com"> valderama@gmail.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Currently
I have the following:<BR><BR>OLAPTest ot=new OLAPTest();
<BR> try{<BR>
ot.initialize();<BR> }<BR>
catch(Exception e)<BR> {<BR>
System.out.println("Erreur initialisation:
");<BR>
e.printStackTrace();<BR> }<BR>
<BR> Connection connection =
DriverManager.getConnection(<BR>
"Provider=<SPAN class=st id=st name="st">mondrian</SPAN>;"
+<BR> "Jdbc=" + ot.jdbcUri + ";"
+<BR> "Catalog="+ "" +
ot.catalogUrl.toString(),<BR>
null,<BR> false);<BR><BR>But I get the
following: <BR><BR><BR>Exception in thread "main"
org.eigenbase.xom.AssertFailure: Enclosure class <SPAN class=st id=st
name="st">mondrian</SPAN>.<SPAN class=st id=st name="st">olap</SPAN>.<SPAN
class=st id=st name="st">MondrianDef</SPAN> not found.
<BR> at
org.eigenbase.xom.DOMElementParser.getEnclosureClass(Unknown
Source)<BR> at
org.eigenbase.xom.DOMElementParser.classArray(Unknown
Source)<BR> at
org.eigenbase.xom.DOMElementParser.getArray(Unknown Source)
<BR> at <SPAN class=st id=st
name="st">mondrian</SPAN>.<SPAN class=st id=st name="st">olap</SPAN>.<SPAN
class=st id=st name="st">MondrianDef</SPAN>$Schema.<init>(<SPAN
class=st id=st name="st"> MondrianDef</SPAN>.java:104)<BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>2007/3/2, Laurent Valdes <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:valderama@gmail.com" target=_blank>valderama@gmail.com
</A>>: </SPAN>
<DIV><SPAN class=e id=q_111124bd2e819e40_1>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
everybody,<BR><BR>How are you ?<BR>I'm absolutely new in this
mailing-list. <BR clear=all><BR>I'm writing some java programs to automate
decisions in my company, and was trying to use Mondrian as it is
possible to use JDBC: from a Java program. <BR><BR>My first question is:
How do I execute MDX queries from Java code ?<BR>My second question is:
Does the client need to keep separated from the ROLAP server ?<BR>If no,
how can I do queries ?<BR>If yes, how can I start the server ? and then
how do I make OLAP queries ? <BR><BR>Many thanks for your help
!<BR><BR>Best regards,<BR><BR>Laurent.<BR><SPAN><BR><BR>-- <BR>«À attendre
que l'herbe pousse, le boeuf meurt de faim»<BR>«Le boeuf» @<<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.le-valdo.com" target=_blank> http://www.le-valdo.com
</A>> </SPAN></BLOCKQUOTE></SPAN></DIV></DIV>
<DIV><SPAN class=e id=q_111124bd2e819e40_3><BR><BR clear=all><BR>-- <BR>«À
attendre que l'herbe pousse, le boeuf meurt de faim»<BR>«Le boeuf» @<<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.le-valdo.com" target=_blank>
http://www.le-valdo.com</A>> </SPAN></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>«À attendre que l'herbe pousse, le boeuf meurt de
faim»<BR>«Le boeuf» @<<A
href="http://www.le-valdo.com">http://www.le-valdo.com</A>>
</BLOCKQUOTE></BODY></HTML>