RCU Errors: "ConnectionFactory::<init>: Could not find driver" and "isConnectionStepValidated: Failed to connect database: No suitable driver found"

(Doc ID 2374634.1)

Last updated on MARCH 16, 2018

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Running Repository Creation Utility (RCU) fails with the following error in the rcu.log:


NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:null, connectString:(description=(address=(host=host,domain)(protocol=tcp)(port=1529))(connect_data=(service_name=ORCLREP)(server=dedicated))) 
ERROR rcu: oracle.sysman.assistants.common.dbutil.jdbc.ConnectionFactory::<init>: Could not find driver: 
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver 
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366) 
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) 
        at java.security.AccessController.doPrivileged(Native Method) 
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) 
...

ERROR rcu: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: Failed to connect database: No suitable driver found for jdbc:oracle:thin:@(description=(address=(host=host.domain)(protocol=tcp)(port=1529))(connect_data=(service_name=ORCLREP)(server=dedicated))) 
ERROR rcu: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: SQLFatalErrorException:
oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: No suitable driver found for jdbc:oracle:thin:@(description=(address=(host=host.domain)(protocol=tcp)(port=1529))(connect_data=(service_name=ORCLREP)(server=dedicated))) 
        at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.connect(JDBCEngine.java:585) 
        at oracle.sysman.assistants.rcu.backend.validation.StepValidator.connectDatabase(StepValidator.java:358) 
        at oracle.sysman.assistants.rcu.backend.validation.StepValidator.connectDatabase(StepValidator.java:253) 
        at oracle.sysman.assistants.rcu.backend.validation.StepValidator.isConnectionStepValidated(StepValidator.java:1352) 
        at oracle.sysman.assistants.rcu.ui.pages.DBConnectionPage.updateModel(DBConnectionPage.java:552) 
        at oracle.sysman.assistants.common.wizard.WizardPageExt.wizardValidatePage(WizardPageExt.java:166) 
....

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms