PDA

View Full Version : Testing pentaho SDK



armanhi
12-16-2008, 08:17 AM
Hi at all!,

I have a problem to debug the project pentaho-standalone of sdk.

I downloaded the latest SDK (pentaho_sdk-07-14-2006-0900AM.zip) as well as the 1.2 HowTo document.

I am using Eclipse 3.4.1 running on JSDK 1.5.0_03.

I followed the instructions and extracted the zip file to my workspace.

I ran the ANT build script as instructed and loaded all the JARS into the project.

When I run / debug the standa-alon project (SimpleCase.java),
I get the following errors when calling Init.initialize() on line 73 in Init.java:

14:14:45,388 ERROR [Logger] Error: Pentaho 1.0.0.0 build 0001
14:14:45,419 FATAL [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0013 - No se pudo crear el objeto org.pentaho.system.GlobalObjectInitializer
java.lang.ClassNotFoundException: org.pentaho.system.GlobalObjectInitializer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.pentaho.core.system.PentahoSystem.createObject(PentahoSystem.java:656)
at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:169)
at org.pentaho.app.Init.initialize(Init.java:50)
at org.pentaho.app.SimpleCase.main(SimpleCase.java:73)
14:14:45,482 ERROR [Logger] Error end:
14:14:45,482 ERROR [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0011 - No es posible crear el listener de parada org.pentaho.system.GlobalObjectInitializer
14:14:45,498 ERROR [Logger] Error: Pentaho 1.0.0.0 build 0001
14:14:45,498 FATAL [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0013 - No se pudo crear el objeto org.pentaho.jfree.JFreeReportSystemListener
java.lang.ClassNotFoundException: org.pentaho.jfree.JFreeReportSystemListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.pentaho.core.system.PentahoSystem.createObject(PentahoSystem.java:656)
at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:169)
at org.pentaho.app.Init.initialize(Init.java:50)
at org.pentaho.app.SimpleCase.main(SimpleCase.java:73)
14:14:45,513 ERROR [Logger] Error end:
14:14:45,513 ERROR [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0011 - No es posible crear el listener de parada org.pentaho.jfree.JFreeReportSystemListener


Later in the web, i found a guy (named Alon) with the same problem (in english but! :P ) :
http://forums.pentaho.org/archive/index.php/t-50786.html

But the problem was unsolved... :(

Somebody could help me?

ingo.klose
12-16-2008, 08:49 AM
Hi,

1.2 and the SDK you are trying to install iis so out of date it's not even funny anymore.

Have a look at this article (http://www.sherito.org/2008/05/27/1211914320000.html) and it might help you to go to a more up to date version and achieve the same as with the SDK.

Regards,
Ingo

armanhi
12-16-2008, 10:25 AM
Thanks for your reply Ingo!,

Pardon, the version of HowTo is the most newer :

Pentaho_SDK_HowTo_es_1.1.5.pdf (http://downloads.sourceforge.net/pentaho/Pentaho_SDK_HowTo_es_1.1.5.pdf?modtime=1148997275&big_mirror=0)

(OF http://sourceforge.net/project/showfiles.php?group_id=140317&package_id=192241&release_id=421148)

And yes, i try with the URL that you give me, and works well!

Although, i couldn't debug the original sample (the how to explains how to use it with JBoss, .. ) -the newest version pentaho_sdk-07-14-2006-0900AM.zip (http://downloads.sourceforge.net/pentaho/pentaho_sdk-07-14-2006-0900AM.zip?modtime=1152913839&big_mirror=0) (http://sourceforge.net/project/showfiles.php?group_id=140317&package_id=186319&release_id=409791 )-


... so i would like to debug it... (and to know why i can't!)

ingo.klose
12-16-2008, 10:58 AM
Sorry, i can't help you there. The SDK versions and HowTo's are from 2006. And the actual SDK packages have been discontinued a while back.

Just thought I put you on the track to use a bit more current Pentaho version.

If you want to debug the Pentaho code, have a look at the WIKI, depending on the version you want to use:

1.x: http://wiki.pentaho.com/display/ServerDoc1x/Building+and+Debugging+Pentaho+with+Eclipse

2.x: http://wiki.pentaho.com/display/ServerDoc2x/Building+and+Debugging+Pentaho+with+Eclipse

Regards,
Ingo

armanhi
12-16-2008, 11:27 AM
So, you recomend me that the best is start with http://wiki.pentaho.com/display/ServerDoc2x/Building+and+Debugging+Pentaho+with+Eclipse !

But, the problem is that i coludn't download anything! (and there is no instructions there! - as you could see in the attachment! (could you see it? If you click in the clip, pageOfPentaho.jpg )-)

Do you know why?? (maybe i don't see a link!)

May be i have no grants??

Thank you Ingo, your help!

armanhi
12-16-2008, 11:41 AM
I drag on the left-menu, in attachements, and in there i could see :

http://wiki.pentaho.com/display/ServerDoc1x/01.+Setting+Up+Your+Environment

So, it's what i want!

Thank you for all, and pardon to send the last message!

armanhi
12-16-2008, 11:53 AM
Wow, i found a link of sdk that doesn't work.


(i follow http://wiki.pentaho.com/display/ServerDoc1x/01.+Setting+Up+Your+Environment , but the link http://wiki.pentaho.com/display/ENG/Pentaho+Development+Standards to follow steps to configure it doesn't work...)

Could someone give the link last version of SDK of Pentaho Platform?!


Thank you!