Problem connecting oracle database

Printil
Printil New Altair Community Member
edited November 5 in Community Q&A
Dear RapidMiner users,

I am trying to read data from a oracle database. However, when I run the procedure, the following error is showed:

Exception: java.lang.NoClassDefFoundError
Message: Could not initialize class oracle.jdbc.driver.DMSFactory
Stack trace:

  oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:4203)
  oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:629)
  oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:218)
  oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
  oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:538)
  com.rapidminer.tools.jdbc.DriverAdapter.connect(DriverAdapter.java:52)
  java.sql.DriverManager.getConnection(DriverManager.java:582)
  java.sql.DriverManager.getConnection(DriverManager.java:185)
  com.rapidminer.tools.jdbc.DatabaseHandler.connect(DatabaseHandler.java:146)
  com.rapidminer.tools.jdbc.DatabaseHandler.getConnectedDatabaseHandler(DatabaseHandler.java:117)
  com.rapidminer.operator.io.DatabaseExampleSource.getConnectedDatabaseHandler(DatabaseExampleSource.java:290)
  com.rapidminer.operator.io.DatabaseExampleSource.getResultSet(DatabaseExampleSource.java:303)
  com.rapidminer.operator.io.ResultSetExampleSource.createExampleSet(ResultSetExampleSource.java:97)
  com.rapidminer.operator.io.DatabaseExampleSource.createExampleSet(DatabaseExampleSource.java:168)
  com.rapidminer.operator.io.AbstractExampleSource.read(AbstractExampleSource.java:52)
  com.rapidminer.operator.io.AbstractExampleSource.read(AbstractExampleSource.java:1)
  com.rapidminer.operator.io.AbstractReader.doWork(AbstractReader.java:119)
  com.rapidminer.operator.Operator.execute(Operator.java:752)
  com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:608)
  com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:357)
  com.rapidminer.operator.ProcessRootOperator.doWork(ProcessRootOperator.java:345)
  com.rapidminer.operator.Operator.execute(Operator.java:752)
  com.rapidminer.Process.run(Process.java:719)
  com.rapidminer.Process.run(Process.java:660)
  com.rapidminer.Process.run(Process.java:650)
  com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)

Can you help me?
Thank you so much.

Best regards,
Ana Oliveira

Answers

  • land
    land New Altair Community Member
    Hi,
    which RapidMiner version do you use?

    Greetings,
      Sebastian
  • Printil
    Printil New Altair Community Member
    Hi,

    I'm using RapidMiner 5 (64 bit).

    Regards,
    Ana
  • land
    land New Altair Community Member
    Hi,
    first of all make sure you downloaded the latest version of RapidMiner x64 from source forge and then got to the Manage Database Drivers menu. See if you have added all *.jar files of the jdbc driver in a comma seperated list to the jar file entry and entered all other parameters of the database driver and connection settings correctly, this should work.

    Greetings,
      Sebastian