Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Exception while loading class

  1. #1
    Join Date
    Jun 2009
    Posts
    5

    Default Exception while loading class

    Hi, I´m trying to make a connection from the Metadata Editor but it doesn´t work. However if I make the connection from the Data Integrator it works fine. This is the exception log:
    org.pentaho.di.core.exception.KettleDatabaseException:
    Error occured while trying to connect to the database
    Exception while loading class
    oracle.jdbc.driver.OracleDriver

    at org.pentaho.di.core.database.Database.normalConnect(Database.java:311)
    at org.pentaho.di.core.database.Database.connect(Database.java:260)
    at org.pentaho.di.core.database.Database.connect(Database.java:222)
    at org.pentaho.di.core.database.Database.connect(Database.java:212)
    at org.pentaho.pms.ui.MetaEditor.importMultipleTables(MetaEditor.java:3310)
    at org.pentaho.pms.ui.MetaEditor.newConnection(MetaEditor.java:2790)
    at org.pentaho.pms.ui.MetaEditor$47.handleEvent(MetaEditor.java:1666)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:842)
    at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3576)
    Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
    Exception while loading class
    oracle.jdbc.driver.OracleDriver
    at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:364)
    at org.pentaho.di.core.database.Database.normalConnect(Database.java:295)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    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.di.core.database.Database.connectUsingClass(Database.java:356)
    ... 13 more

    Any help would be very helpful.

    Manuel

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Looking at the error message the meta editor lacks the Oracle JDBC jar file...

    Regards,
    Sven

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.