PDA

View Full Version : Urgent: Build Test fails -mysql



mcilfone
10-20-2002, 11:17 PM
Hello everybody,
I've just downloaded the 0.30 version of mondrian and I've tried to run the foodmart test.
The result I've obtained is as follows:
Buildfile: build.xml
FoodMartTest:
[java] .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
[java] E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
[java] E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.............
[java] Time: 0,969
[java] There were 107 errors:
[java] 1) testSample0(mondrian.test.FoodMartTestCase)mondrian.resource.Error: Internal error: while creating RolapConnection (Provider=mondrian; Catalog=file:///D:\Progetto\Analisi OLAP\mondrian\mondrian-0.3/demo/FoodMart.xml)
[java] at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:59)
[java] at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:72)
[java] at mondrian.olap.DriverManager.getConnection(DriverManager.java:38)
[java] at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:95)
[java] at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:40)
[java] at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:34)
[java] at mondrian.test.FoodMartTestCase.testSample0(FoodMartTestCase.java:158)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
[java] at mondrian.test.Main.run(Main.java:60)
[java] at mondrian.test.Main.runSafe(Main.java:40)
[java] at mondrian.test.Main.main(Main.java:31)
I've edited the build.xml file as follows:
<!-- Comma-separated list of jdbc drivers; for example,
"org.hsqldb.jdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver,oracle.jdbc.OracleDriver" -->
<property name="mondrian.jdbcDrivers" value="com.mysql.jdbc.Driver"/>


<property name="mondrian.resourceURL"
value="
file:///${resource.location}
"/>
<!-- JDBC URL of the relational database; examples are
"jdbc:odbc:MondrianFoodMart", "jdbc:hsqldb:demo/hsql/FoodMart",
"jdbc:oracle:oci8:foodmart/foodmart@kanaebiz". -->
<property name="mondrian.foodmart.jdbcURL"
value="jdbc:mysql//localhost/foodmart?user=user&#38;password=inspiring"/>

<property name="mondrian.foodmart.catalogURL"
value="
file:///${project.location}/${demo.dir}/FoodMart.xml
"/>
Anyone can argue what could be the problem?
I'm using MySQL 3.23.49 version
Can anybody help me?
Thanks in advance
Michele Cilfone

jhyde
10-21-2002, 05:41 AM
I was going to suggest that you upgrade to build 157 or later -- which would yield a more informative error message -- but I see from another thread that you've already done this.

jhyde
10-21-2002, 05:41 AM
I was going to suggest that you upgrade to build 157 or later -- which would yield a more informative error message -- but I see from another thread that you've already done this.