<div>Hello, I&#39;ve been using Mondrn with Pentaho BI Suite and for some reason I can&#39;t connect to Teradata with Mondrian, I can make reports using my DB, the problem only comes with Mondrian. Here&#39;s what I do:</div>

<div>&nbsp;</div>
<div>I use Cube Designer to design and publish a cube, at this point I have no problem accesing the data from Teradata, I can use the graphic interface perfectly. In Cube designer I have to use the JDBC drivers version <a href="http://03.01.00.102">03.01.00.102</a>, If I use newer ones I can&#39;t connect... So far so good</div>

<div>&nbsp;</div>
<div>Now to actually SEE the cube, The JDBC drivers defined in Jboss are version 12.0, here the version <a href="http://3.01.00.102">3.01.00.102</a> simply don&#39;t work. So, I go to localhost/samples/analysis and when I click on a SampleData cube I can see it perfectly, but, a Teradatya cube... NOTHING, The only thing I see is the message from Jboss that goes like this:</div>

<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><em><font face="courier new,monospace" size="2">10:23:15,865 INFO&nbsp; [STDOUT] , exec+fetch 47 ms, 0 rows<br>10:23:15,865 ERROR [MondrianModel] Parse Failure<br>mondrian.olap.MondrianException: Mondrian Error:Failed to parse query &#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select NON EMPTY {[Measures].[SUM of TBL_CUBO_CLIENTES_MCL_3000.RUTCLI]} ON columns, NON EMPTY {([Sexo.Sexo].[All sexo], [Rango.Rango].[All r<br>ango])} ON rows from [cubo0902]</font></em></div>
<div><em><font face="courier new,monospace" size="2">&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:755)</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:595)<br>Caused by: mondrian.olap.MondrianException: Mondrian Error:Error while parsing MDX statement &#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select NON EMPTY {[Measures].[SUM of TBL_CUBO_CLIENTES_MCL_3000.RUTCLI]} ON columns, NON EMPTY {([Sexo.Sexo].[All sexo], [Rango.Rango].[All r<br>
ango])} ON rows from [cubo0902]<br>&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:755)</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">.</font></em></div>
<div><em><font face="courier new,monospace" size="2">10:23:15,865 ERROR [MondrianModel] [NCR] [Teradata DBMS] : Object &#39;TBL_CUBO_CLIENTES_MCL_3000&#39; does not exist.<br>10:23:15,865 ERROR [OlapModelProxy]<br>com.tonbeller.jpivot.olap.model.OlapException: [NCR] [Teradata DBMS] : Object &#39;TBL_CUBO_CLIENTES_MCL_3000&#39; does not exist.</font></em></div>

<div><em><font face="Courier New" size="2"></font></em>&nbsp;</div></blockquote>
<div dir="ltr"><font face="" size="2">(...And a lot more)</font></div>
<div dir="ltr"><font face="" size="2">Which seems to be because the name of the Database itself is nowehre to be found, it just references the tables. So, my natural instinct suggest me to change the .xml and add the reference to the table... at this point I get the following error:</font></div>

<div dir="ltr"><font size="2"></font>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div dir="ltr"><font face="courier new,monospace"><em>
<div><em><font face="courier new,monospace">10:27:51,940 ERROR [Logger] Error: Pentaho Pentaho BI Platform 1.6.0.GA.863<br>10:27:51,940 ERROR [Logger] misc-org.pentaho.data.connection.mdx.MDXConnection: MDXConnection.ERROR_0002 - &quot;Unable to create a native connection for c<br>
onnection string: &quot;Mondrian Error:Internal error: while parsing catalog solution:samples/analysis/cuboprueba.mondrian.xml&quot;<br>mondrian.olap.MondrianException: Mondrian Error:Internal error: while parsing catalog solution:samples/analysis/cuboprueba.mondrian.xml<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:755)</font></em></div></em></font><font face="courier new,monospace"><em>.</em></font></div>
<div dir="ltr"><font face="courier new,monospace"><em>.</em></font></div>
<div dir="ltr"><font face="courier new,monospace"><em>.</em></font></div>
<div dir="ltr">
<p><font face="courier new,monospace"><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:595)<br>Caused by: org.eigenbase.xom.XOMException: Document parse failed: [Fatal Error] :32:88: Element type &quot;Level&quot; must be followed by either attribute spec<br>
ifications, &quot;&gt;&quot; or &quot;/&gt;&quot;.</em></font></p>
<p><font face="courier new,monospace"><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eigenbase.xom.wrappers.GenericDOMParser.handleErrors(Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eigenbase.xom.wrappers.JaxpDOMParser.parseInputSource(Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eigenbase.xom.wrappers.GenericDOMParser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapSchema.load(RolapSchema.java:303)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 94 more<br>10:27:51,956 ERROR [Logger] Error end:<br>10:27:51,956 ERROR [Logger] misc-MondrianModelComponent: MondrianModel.ERROR_0001 - [es_82] getInitialQuery(): Connection is not valid: {PoolNeeded=fa<br>
lse, dataSource=java:TeradataDS, Provider=mondrian, Catalog=solution:samples/analysis/cuboprueba.mondrian.xml}<br>10:27:51,956 ERROR [PivotViewComponent] Error Start: Pentaho Pentaho BI Platform 1.6.0.GA.863<br>10:27:51,956 ERROR [PivotViewComponent] 79ff1a2b-da37-11dc-ad54-931a72ea8013:COMPONENT:context-17354178-1202909271909:cuboprueba.xactionBase.ERROR_000<br>
2 - Ejecucižn fallida del Componente<br>java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.util.regex.Matcher.getTextLength(Matcher.java:1127)</em></font></p>
<p><font face="courier new,monospace"><em>.</em></font></p>
<p><font face="courier new,monospace"><em>.</em></font></p>
<p><font face="courier new,monospace"><em>.</em></font></p>
<p><font face="courier new,monospace"><em>10:27:51,956 ERROR [PivotViewComponent] Error end:<br>10:27:51,956 ERROR [RuntimeContext] 79ff1a2b-da37-11dc-ad54-931a72ea8013:RUNTIME:context-17354178-1202909271909:cuboprueba.xaction RuntimeContext.ERRO<br>
R_0012 - [es_33] ActionDefinition for PivotViewComponent did not execute successfully</em></font></p></div></blockquote>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">(Again, the error itself is a lot longer, but that seems like the most important part)</div>
<div dir="ltr">PLEASE, at this point Im desesperate, I&#39;ve searched every forum I&#39;ve found and I found nothing to help me, We have a lot of hope in this platform, but at this point it&#39;s begining to be a lot of trouble. HELP!!</div>

<div dir="ltr">&nbsp;</div>
<div dir="ltr">Thanks.</div>
<div dir="ltr">&nbsp;&nbsp; Francisco Martín C.</div>