tomislav
12-14-2005, 10:54 AM
Hi everyone,
I've tried just about everything...and the only reason I say "just about" is because it seems that I'm the only one with this kind of problem: when I run the MondrianFoodMartLoader, it simply exits with a couple of irrelevant log4j warnings. I'll copy them just for clarity:
log4j:WARN No appenders could be found for logger (mondrian.test.loader.MondrianFoodMartLoader).
log4j:WARN Please initialize the log4j system properly.
I've tried importing data into MSSQL Server 2000 using the jtds-1.0 JDBC driver as well as a PostgreSQL 8.0 (both on Win 2003 Server and Gentoo linux...well, postgressql on both, anyway :)). The startup scripts I used are as follows (don't know how this is going to look like because of the forum content parser/filter):
1. for Postgresql 8.0:
#!/bin/bash
trenutni=`pwd`
java -cp
"$trenutni:$trenutni/mondrian/lib/mondrian.jar:$trenutni/mondrian/lib/log4j.jar:$trenutni/mondrian/lib/eigenbase-properties.jar:$trenutni/mondrian/lib/eigenbase-resgen.jar:$trenutni/mondrian/lib/eigenbase-xom.jar:$trenutni/mondrian/lib/jtds-1.0.jar" mondrian.test.loader.MondrianFoodMartLoader -tables -data -indexes -jdbcDrivers=org.postgres.Driver -inputFile=$trenutni/mondrian/demo/FoodMartCreateData.sql -outputJdbcURL="jdbc:postgresql://192.168.0.3:5432/FoodMart" -inputJdbcUser=postgres -inputJdbcPassword=....
2. for MS SQL 2000
#!/bin/bash
trenutni=`pwd`
java -cp
"$trenutni:$trenutni/mondrian/lib/mondrian.jar:$trenutni/mondrian/lib/log4j.jar:$trenutni/mondrian/lib/eigenbase-properties.jar:$trenutni/mondrian/lib/eigenbase-resgen.jar:$trenutni/mondrian/lib/eigenbase-xom.jar:$trenutni/mondrian/lib/jtds-1.0.jar" mondrian.test.loader.MondrianFoodMartLoader -tables -data -indexes -jdbcDrivers=net.sourceforge.jtds.jdbc.Driver -inputFile=$trenutni/mondrian/demo/FoodMartCreateData.sql -outputJdbcURL="jdbc:jtds:sqlserver://192.168.0.3/FoodMart?user=...&password=..."
I'm working on a linux machine with J2SE 1.5-06 with the most recent mondrian (2.0.0) and pentaho (1.0 RC2) binaries.
The funny thing (aside from having lost the better part of this day trying to solve this problem) is that the mondrian loader doesn't complain if I missspel the path and/or name of the eigenbase-* jars, if I use invalid credentials, if I reference a non existing server and/or database...it's just sensitive to log4j and mondrian.jar. Doesn't seem like it does anything with the jdbc driver, really, but it doesn't complain, either.
Oh, and one more thing: everyone seems to use the "-verbose" flag, but the version of mondrian loader I use complains when I use it and displays a usage screen listing other flags, but not "-verbose". Can't help but wonder about the versions...
TIA,
Tomislav
I've tried just about everything...and the only reason I say "just about" is because it seems that I'm the only one with this kind of problem: when I run the MondrianFoodMartLoader, it simply exits with a couple of irrelevant log4j warnings. I'll copy them just for clarity:
log4j:WARN No appenders could be found for logger (mondrian.test.loader.MondrianFoodMartLoader).
log4j:WARN Please initialize the log4j system properly.
I've tried importing data into MSSQL Server 2000 using the jtds-1.0 JDBC driver as well as a PostgreSQL 8.0 (both on Win 2003 Server and Gentoo linux...well, postgressql on both, anyway :)). The startup scripts I used are as follows (don't know how this is going to look like because of the forum content parser/filter):
1. for Postgresql 8.0:
#!/bin/bash
trenutni=`pwd`
java -cp
"$trenutni:$trenutni/mondrian/lib/mondrian.jar:$trenutni/mondrian/lib/log4j.jar:$trenutni/mondrian/lib/eigenbase-properties.jar:$trenutni/mondrian/lib/eigenbase-resgen.jar:$trenutni/mondrian/lib/eigenbase-xom.jar:$trenutni/mondrian/lib/jtds-1.0.jar" mondrian.test.loader.MondrianFoodMartLoader -tables -data -indexes -jdbcDrivers=org.postgres.Driver -inputFile=$trenutni/mondrian/demo/FoodMartCreateData.sql -outputJdbcURL="jdbc:postgresql://192.168.0.3:5432/FoodMart" -inputJdbcUser=postgres -inputJdbcPassword=....
2. for MS SQL 2000
#!/bin/bash
trenutni=`pwd`
java -cp
"$trenutni:$trenutni/mondrian/lib/mondrian.jar:$trenutni/mondrian/lib/log4j.jar:$trenutni/mondrian/lib/eigenbase-properties.jar:$trenutni/mondrian/lib/eigenbase-resgen.jar:$trenutni/mondrian/lib/eigenbase-xom.jar:$trenutni/mondrian/lib/jtds-1.0.jar" mondrian.test.loader.MondrianFoodMartLoader -tables -data -indexes -jdbcDrivers=net.sourceforge.jtds.jdbc.Driver -inputFile=$trenutni/mondrian/demo/FoodMartCreateData.sql -outputJdbcURL="jdbc:jtds:sqlserver://192.168.0.3/FoodMart?user=...&password=..."
I'm working on a linux machine with J2SE 1.5-06 with the most recent mondrian (2.0.0) and pentaho (1.0 RC2) binaries.
The funny thing (aside from having lost the better part of this day trying to solve this problem) is that the mondrian loader doesn't complain if I missspel the path and/or name of the eigenbase-* jars, if I use invalid credentials, if I reference a non existing server and/or database...it's just sensitive to log4j and mondrian.jar. Doesn't seem like it does anything with the jdbc driver, really, but it doesn't complain, either.
Oh, and one more thing: everyone seems to use the "-verbose" flag, but the version of mondrian loader I use complains when I use it and displays a usage screen listing other flags, but not "-verbose". Can't help but wonder about the versions...
TIA,
Tomislav