LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2005, 10:24 PM   #1
zakidad
LQ Newbie
 
Registered: Aug 2004
Location: Serdang
Distribution: none
Posts: 26

Rep: Reputation: 15
OLAP Mondrian On fedora 3


Hi all. Has anyone use OLAP on LINUX before? I tried to install Mondrian OLAP, and it seems there's a problem during installing it. From the error that I got, I think it has to do something with the classpath ...here's the error messages;

Exception in thread "main" java.lang.NoClassDefFoundError: opt.mondrian-1.1.5.test.loader.MondrianFoodLoader.class
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/opt/mondrian-1.1.5/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
at _Jv_RegisterClasses (/opt/mondrian-1.1.5/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)

The command line I wrote this,
java -cp "/opt/mondrian-1.1.5/lib/mondrian.jar:/opt/mondrian-1.1.5/lib/log4j-1.2.9.jar:/opt/mondrian-1.1.5/lib/eigenbase-xom.jar:/opt/mondrian-1.1.5/lib/eigenbase-resgen.jar:/opt/mysql-connector-java-3.1.8/mysql-connector-java-3.1.8-bin.jar" opt.mondrian-1.1.5.lib.mondrian.test.loader.MondrianFoodLoader -verbos -tables -data -indexes rs=com.mysql.jd bc.Driver -inputFile=/opt/mondrian-1.1.5/demo/FoodMartCreateData.sql -outputJdbc URL="jdbc:mysql://localhost/foodmar?user=root&password= "

What is actually happening ? Do I need to insert classpath to point mondrian.jar in my /root/.bashrc file?
Bye
 
Old 06-24-2005, 04:06 AM   #2
mildchaos
LQ Newbie
 
Registered: Jun 2005
Location: Izee, OR USA
Distribution: Fedora 3
Posts: 1

Rep: Reputation: 0
I created the test database using the following:

java -cp './lib/mondrian.jar:./lib/log4j-1.2.9.jar:./lib/eigenbase-xom.jar:./lib/eigenbase-resgen.jar:/usr/local/mysql/mysql-connector-java-3.1.9-bin.jar' \
mondrian.test.loader.MondrianFoodMartLoader \
-verbose -tables -data -indexes \
-jdbcDrivers=com.mysql.jdbc.Driver \
-inputFile=./demo/FoodMartCreateData.sql \
-outputJdbcURL="jdbc:mysql://localhost/foodmart?user=root&password="

I got a few errors on conflicting timestamps, but the data looks ok.


Now I'm stuck on the next step. When I go to the test page get the test page:
http://localhost:8080/mondrian/testpage.jsp?query=mondrian

I get the following error:
error: Error while creating connection from data source

This is the connect info from the mondrian.properties file:
mondrian.test.connectString=\
Provider=mondrian;\
Jdbc="jdbc:mysql://localhost/foodmart?user-root&password=";\
Catalog=/WEB-INF/FoodMart.xml;\
JdbcDrivers=com.mysql.jdbc.Driver;\
RoleXX='California manager';
mondrian.foodmart.jdbcURL=jdbcdbc:MondrianFoodMart
mondrian.jdbcDrivers=com.mysql.jdbc.Driver
 
Old 01-13-2006, 08:55 AM   #3
while(1)
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Did you fix it???? i have the same problem right now and need an urgent solution.

Thanks a lot
 
Old 10-03-2009, 03:43 AM   #4
Mandy Kwong
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
Re:

Irrelevant Spam deleted by mod.

Last edited by Matir; 06-23-2010 at 09:27 PM. Reason: Spam
 
Old 11-23-2009, 12:54 AM   #5
scott.davis
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
thanks

thanks a lot i was looking for it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora core fedora device /dev/dsp can't be opened J3N7iL Linux - Hardware 3 06-30-2005 03:10 PM
Mondrian OLAP+JAVA: whats wrong with my command line? zakidad Programming 4 06-14-2005 03:40 AM
Will the Fedora Foundation be paying for the Linux Distribution, Fedora forum at LQ? t3gah Fedora 1 06-06-2005 06:44 AM
http://download.fedora.us/fedora/fedora/3/i386/RPMS.os broken! caps_phisto Fedora 3 02-05-2005 04:16 PM
Fedora on gateway solo 9550 se and can fedora mt a firewire hardisk ljrose Linux - Newbie 1 08-18-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration