PDA

View Full Version : SDK - pentaho-standalone



crouchm
04-14-2006, 11:56 AM
Hi! I've downloaded the SDK and followed the directions in the how-to dated 04/13/06. I keep running into a problem when I try to step thru the code for the standalone app. I get class not found exception on auditEntry. It seems it was looking for a file in system.logs.audit.PentahoAuditLog.log. I have a systems.logs directory but no file exists. I created the audit directory and placed a file w/correct name in it - but it has not helped. Any ideas what's going on? Help much appreciated - thanks!

15:47:44,323 ERROR [AuditEntry] java.lang.ClassNotFoundException: org.pentaho.audit.AuditFileEntry
java.lang.ExceptionInInitializerError
at org.pentaho.core.audit.AuditEntry.(AuditEntry.java:46)
at org.pentaho.core.audit.AuditHelper.audit(AuditHelper.java:65)
at org.pentaho.core.session.BaseSession.(BaseSession.java:58)
at org.pentaho.core.session.StandaloneSession.(StandaloneSession.java:52)
at org.pentaho.core.session.StandaloneSession.(StandaloneSession.java:43)
at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:135)
at org.pentaho.app.Init.initialize(Init.java:48)
at org.pentaho.app.SimpleCase.main(SimpleCase.java:73)
Caused by: java.lang.ClassNotFoundException: org.pentaho.audit.AuditFileEntry
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.pentaho.core.audit.AuditEntry.(AuditEntry.java:41)
... 7 more
java.lang.NoClassDefFoundError
at org.pentaho.core.audit.AuditHelper.audit(AuditHelper.java:65)
at org.pentaho.core.session.BaseSession.(BaseSession.java:58)
at org.pentaho.core.session.StandaloneSession.(StandaloneSession.java:52)
at org.pentaho.core.session.StandaloneSession.(StandaloneSession.java:43)
at org.pentaho.core.solution.SolutionHelper.execute(SolutionHelper.java:63)
at org.pentaho.app.SimpleCase.simpleHelloWorldCase(SimpleCase.java:46)
at org.pentaho.app.SimpleCase.simpleCase(SimpleCase.java:33)
at org.pentaho.app.SimpleCase.main(SimpleCase.java:75)
Exception in thread "main"

crouchm
04-17-2006, 04:50 AM
Ok - found a post that fixed this issue - http://forums.pentaho.org/showthread.php?t=26201. Seems the pentaho.xml was not referencing the correct package structure - (guess I couldn't see the forest for the trees). This does not fix the problem in the post I referenced though. Any ideas?