Error Unable to create driver: java.lang.ClassCastException starting Remote Loader set up for JDBC driver

  • 7015476
  • 05-Aug-2014
  • 05-Aug-2014


NetIQ Identity Manager Driver - JDBC


Trying to start a remote loader service configured for the JDBC driver but get the following error in trace:
Unable to create driver: java.lang.ClassCastException: oracle.jdbc.driver.OracleDriver cannot be cast to com.novell.nds.dirxml.driver.DriverShim  In this case we are going to connect to an Oracle database.


The configuration file for the Remote Loader was set with the wrong class name.  The class name for the Oracle database had been entered on the Remote Loader configuration file.  The correct entry should have been com.novell.nds.dirxml.driver.jdbc.JDBCDriverShim which would point to the JDBC shim.
The entry that had been entered came from the JDBC driver doc class name entry list.  Those entries are used when creating the driver configuration, not for the Remote Loader configuration.