My Oracle Support Banner

Setup_server.exe Fails to Connect to Oracle Database. Returns Error "Connectivity error: Database driver class not found in Classpath! " (Doc ID 819160.1)

Last updated on JULY 21, 2020

Applies to:

Identity Manager - Version 9.1.0.1 and later
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 10.2.0.1 [Release 9.2 to 10.2]
z*OBSOLETE: Microsoft Windows Server 2003
z*OBSOLETE: Microsoft Windows Server 2003 R2 (32-bit)
Microsoft Windows Server 2003Microsoft Windows Server 2003 R2 (32-bit)
Checked for relevance on 03-Dec-2010


Symptoms

Installing OIM9.1.0.1 into Oracle Database 9.2 or 10.2.

Using setup_server.exe to install OIM on Windows.
1. Select Oracle Database.
2. Enter Database Connectivity information.
3. When clicking on Next to test the connection, an error window is returned:
4. Click Ok and new window, new error window:

Connectivity error:
Error encountered while testing the connection!
Database driver class not found in Classpath!

 

Error encountered while testing the connection!
Check the database parameters provided and try again.


5. Reviewing the setup_server DOS window that was started, the following is seen:

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
   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 com.thortech.xl.installer.event.dialog.swing.Paneldb_info.testDatabaseConnection(Paneldb_info.java:233)
   at com.thortech.xl.installer.event.dialog.swing.Paneldb_info.queryExitdb_info(Paneldb_info.java:143)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.installshield.event.ActionSequenceEngine$ActionTask.invokeJavaMethod(Unknown Source)
   at com.installshield.event.ActionSequenceEngine$ActionTask.executeAction(Unknown Source)
   at com.installshield.event.ActionSequenceEngine$ActionTask.run(Unknown Source)
   at com.installshield.event.ThreadPool.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:532)
   at java.sql.DriverManager.getConnection(DriverManager.java:171)
   at com.thortech.xl.installer.event.dialog.swing.Paneldb_info.testDatabaseConnection(Paneldb_info.java:248)
   at com.thortech.xl.installer.event.dialog.swing.Paneldb_info.queryExitdb_info(Paneldb_info.java:143)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.installshield.event.ActionSequenceEngine$ActionTask.invokeJavaMethod(Unknown Source)
   at com.installshield.event.ActionSequenceEngine$ActionTask.executeAction(Unknown Source)
   at com.installshield.event.ActionSequenceEngine$ActionTask.run(Unknown Source)
   at com.installshield.event.ThreadPool.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:534)

 

Changes

New install.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.