Feris, thanks for that I edited the default datasources.xml and I
forgot to change that, but I have done as you said by changine it now.
This is the default datasources.xml which I modified for use:
----------------------------------
<?xml version="1.0"?>
<!--
== $Id: //open/mondrian-release/3.0/webapp/WEB-INF/datasources.xml#2
$
== This software is subject to the terms of the Common Public
License
== Agreement, available at the following URL:
==
http://www.opensource.org/licenses/cpl.html.
== (C) Copyright 2005-2006 Julian Hyde and others.
== All Rights Reserved.
== You must accept the terms of that agreement to use this software.
-->
<DataSources>
<!--
A data source is a collection of logically related Mondrian
catalogs.
The XMLA specification allows an XMLA provider to have
multiple data sources, but some clients, particularly ones
based on
ADOMD.NET such as Simba's O2X client and Pentaho
Spreadsheet Services, can only connect to the first declared
data source. Therefore, we recommend that you use a single
data source, containing multiple catalogs if necessary.
-->
<DataSource>
<!--
Name of the data source.
-->
<DataSourceName>Provider=Mondrian;DataSource=MondrianFoodMart;</
DataSourceName>
<!--
Description of the data source.
-->
<DataSourceDescription>Mondrian FoodMart Data Warehouse</
DataSourceDescription>
<!--
The URL of the servlet.
-->
<!--
Mondrian connect string for the data source. If this data
source contains multiple catalogs, omit the 'Catalog'
property, and specify the URI of the schema.xml file in
the catalog's <Definition> element.
Catalogs can override the connect string with their own
<DataSourceInfo> element.
-->
<!-- for Oracle -->
<!--
<DataSourceInfo>Provider=mondrian;Jdbc=jdbc:oracle:thin:foodmart/
foodmart@//
marmalade.hydromatic.net:1521/
XE;JdbcUser=foodmart;JdbcPassword=foodmart;JdbcDrivers=oracle.jdbc.OracleDriver;Catalog=/
WEB-INF/queries/FoodMart.xml</DataSourceInfo>
-->
<DataSourceInfo>Provider=mondrian;Jdbc=jdbc:mysql://localhost/
foodmart;JdbcUser=foodmart;JdbcPassword=foodmart;JdbcDrivers=com.mysql.jdbc.Driver;Catalog=/
WEB-INF/queries/FoodMart.xml</DataSourceInfo>
<!--
Provider name must be 'Mondrian'.
-->
<ProviderName>Mondrian</ProviderName>
<!--
Provider type must be 'MDP'.
-->
<ProviderType>MDP</ProviderType>
<!--
Authentication mode. Allowable values are
'Unauthenticated', 'Authenticated', 'Integrated'.
-->
<AuthenticationMode>Unauthenticated</AuthenticationMode>
<!--
A data source contains one or more catalogs.
-->
<Catalogs>
<!--
Catalog names must match the name inside the
schema.xml file, and must be unique across all data
sources defined in this datasources.xml file.
-->
<Catalog name="FoodMart">
<!--
Mondrian connect string for the data source. This
element is optional; if specified, it overrides
the
data source's <DataSourceInfo> element.
Typically,
you would use this element if the catalogs have
different JDBC data sources.
-->
<!--
<DataSourceInfo>Provider=mondrian;Jdbc=jdbc:odbc:MondrianFoodMart;JdbcDrivers=sun.jdbc.odbc.JdbcOdbcDriver</
DataSourceInfo>
-->
<!--
URI of the schema definition file.
-->
<Definition>/WEB-INF/queries/FoodMart.xml</Definition>
</Catalog>
</Catalogs>
</DataSource>
</DataSources>
----------------------------------
I removed those comments in the first datasources.xml I posted.
Thanks but am still getting the same errorr after changing that,
hope to hear from you soon.
Thanks,
Quadri.
On Jan 6, 10:58 am, "Feris Thia" <
fe...@phi-integration.com> wrote:
> Hi Quadri,
> Can you change this part in your datasources.xml :
>