Monday, February 18, 2013

Removing the Sample Pentaho Analysis Data Source

"Steel Wheels" sample data source pre-configured.
This is useful for some evaluation and test deployments, but since the Steel Wheels database is not included in the manual deployment package, starting the BA Server without removing the sample data source will cause an error.

Follow the directions below.
  1. Edit the /pentaho-solutions/system/olap/datasources.xml file.
  2. Remove the following block of XML: 
     
    <Catalog name="SteelWheels">
        <DataSourceInfo>Provider=mondrian;DataSource=SampleData</DataSourceInfo>
        <Definition>solution:steel-wheels/analysis/steelwheels.mondrian.xml</Definition>
    </Catalog>
    Catalog name="SampleData">
        <DatasourceInfo>Provider=mondrian;DataSource=SampleData</DataSourceInfo>
        <Definition>solution:steel-wheels/analysis/sampledata.mondrian.xml</Definition>
    </Catalog>
     
  3. Save and close the file.
Your Pentaho Analysis data source definition file is cleansed of sample data sources.

No comments:

Post a Comment

Create MongoDB service in Windows OS

1) Open Command Prompt 2) Create directory for Database and Logs                    mkdir c:\data\db                     mkdir c:\...