RCU is Failing to Connect to Database with Error "Invalid Service Name" (Doc ID 1901978.1)

Last updated on NOVEMBER 05, 2016

Applies to:

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

Symptoms

 During the running of RCU to create Schemas, the following error occurs after providing the database connection details.

2014-06-18 19:18:01.658 TRACE rcu: oracle.sysman.assistants.rcu.backend.models.ConnectionModel::getConnectString: Returning connectString=(description=(address=(host=hostname.com)(protocol=tcp)(port=1551))(connect_data=(service_name=XXXXX)(server=dedicated)))
2014-06-18 19:18:01.659 TRACE rcu: oracle.sysman.assistants.rcu.backend.validation.StepValidator::connectDatabase: Entering.
2014-06-18 19:18:01.659 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: Connecting to database: user:sys, role:SYSDBA, connectString:(description=(address=(host=hostname.com)(protocol=tcp)(port=1551))(connect_data=(service_name=XXXXX)(server=dedicated)))
2014-06-18 19:18:01.659 TRACE rcu: oracle.sysman.assistants.common.dbutil.jdbc.ConnectionFactory::<init>: Driver: oracle.jdbc.driver.OracleDriver
2014-06-18 19:18:01.893 ERROR rcu: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: Failed to connect database: Invalid service name.
2014-06-18 19:18:01.897 ERROR rcu: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: SQLFatalErrorException:
oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: Invalid service name

 

Able to connect via sqlplus and tnsping from the server that RCU is run from.

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