My Oracle Support Banner

Cold Fusion Using JDBC Not Able To Connect To A Database When There Is Failover/Switchover (Doc ID 2720344.1)

Last updated on MAY 02, 2024

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


There is a non-RAC & non-container standalone databases with data guard environment.
All applications are running in Adobe Cold Fusion. Applications use data source to connect to databases.
To create database source it is necessary to provide dB user id, password, database SID, port number and host name.

In the data guard environment it was created role based service to connect to the database. If there is a failover/switchover to one of the standby database there is no issues connecting to the database from toad or other clients which uses tnsnames.ora.
Main issue is with applications connecting to the databases using data sources. If there is a failover/switchover to the standby database, the data source is still pointing to the old hostname.




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

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