kmuglurmath
05-28-2003, 02:46 PM
Hi,
I just downloaded mondrian 0.6 and setup the mysql database using tables, indexes and data from the mondrian 0.6 mysql data file.
When I run mondrian.bat test from the bin folder, the test fails, and the junit index.html output shows the following:
Tests Errors Failures Time(s)
Main 334 296 8 4.877
Internal error: Error while creating RolapSchema (Provider=mondrian; Jdbc=jdbc:mysql://192.168.1.95/foodmart?user=dwdba&password=password; Catalog=jar:file:/C:\Java\mondrian-0.6\lib/mondrian.war!/WEB-INF/queries/FoodMart.xml)
mondrian.resource.ChainableRuntimeException: Internal error: Error while creating RolapSchema (Provider=mondrian; Jdbc=jdbc:mysql://192.168.1.95/foodmart?user=dwdba&password=password; Catalog=jar:file:/C:\Java\mondrian-0.6\lib/mondrian.war!/WEB-INF/queries/FoodMart.xml)
at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:45)
at mondrian.olap.Util.newInternal(Util.java:433)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:103)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:53)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:122)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:53)
at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:146)
at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:43)
at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:37)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:143)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:136)
at mondrian.test.BasicQueryTest.testSample0(BasicQueryTest.java:411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:100)
... 25 more
caused by
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:100)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:53)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:122)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:53)
at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:146)
at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:43)
at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:37)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:143)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:136)
at mondrian.test.BasicQueryTest.testSample0(BasicQueryTest.java:411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I suspect some key file is not in the classpath somewhere, although I did add the mysql jdbc jar file to the classpath set in mondrian.bat.
I'd like to get this working and start using it in my own separate database. Please help! Thanks.
I just downloaded mondrian 0.6 and setup the mysql database using tables, indexes and data from the mondrian 0.6 mysql data file.
When I run mondrian.bat test from the bin folder, the test fails, and the junit index.html output shows the following:
Tests Errors Failures Time(s)
Main 334 296 8 4.877
Internal error: Error while creating RolapSchema (Provider=mondrian; Jdbc=jdbc:mysql://192.168.1.95/foodmart?user=dwdba&password=password; Catalog=jar:file:/C:\Java\mondrian-0.6\lib/mondrian.war!/WEB-INF/queries/FoodMart.xml)
mondrian.resource.ChainableRuntimeException: Internal error: Error while creating RolapSchema (Provider=mondrian; Jdbc=jdbc:mysql://192.168.1.95/foodmart?user=dwdba&password=password; Catalog=jar:file:/C:\Java\mondrian-0.6\lib/mondrian.war!/WEB-INF/queries/FoodMart.xml)
at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:45)
at mondrian.olap.Util.newInternal(Util.java:433)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:103)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:53)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:122)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:53)
at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:146)
at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:43)
at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:37)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:143)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:136)
at mondrian.test.BasicQueryTest.testSample0(BasicQueryTest.java:411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:100)
... 25 more
caused by
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:100)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:53)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:122)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:53)
at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:146)
at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:43)
at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:37)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:143)
at mondrian.test.FoodMartTestCase.runQueryCheckResult(FoodMartTestCase.java:136)
at mondrian.test.BasicQueryTest.testSample0(BasicQueryTest.java:411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I suspect some key file is not in the classpath somewhere, although I did add the mysql jdbc jar file to the classpath set in mondrian.bat.
I'd like to get this working and start using it in my own separate database. Please help! Thanks.