Cold Fusion Using JDBC Not Able To Connect To A Database When There Is Failover/Switchover
(Doc ID 2720344.1)
Last updated on OCTOBER 21, 2020
Applies to:JDBC - Version 18.104.22.168.0 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