My Oracle Support Banner

Transparent Application Continuity(TAC) Is Not Successful For SQL Developer Connections On Node Failover (Doc ID 2859802.1)

Last updated on FEBRUARY 16, 2023

Applies to:

Oracle SQL Developer - Version 21.2 and later
Information in this document applies to any platform.

Symptoms

You have two Node RAC setup with Transparent Application Continuity(TAC) implemented. You have SQL Developer, SQL*Plus session connected to same database.

On triggering failover, SQL Developer does not failover and throws message as below:

Your database connection has been reset. Any pending transactions or sessions state has been lost.

 But checking v$session with below query shows failover has not succeeded for SQL Developer.

select program,sid,failover_type,failover_method,failed_over from v$session where sid=sys_context('userenv', 'sid');

PROGRAM          SID    FAILOVER_TYPE      FAILOVER_METHOD FAILED_OVER
----------------------------------------------------------------------------------
SQL Developer   <SID> NONE                    NONE                    NO

PROGRAM                         SID      FAILOVER_TYPE    FAILOVER_METHOD FAILED_OVER
--------------------------------------------------------------------------------------
sqlplus@<NODE_NAME> (TNS V1-V3) <SID> AUTO                BASIC                     YES

 Whereas SQL*Plus shows failover has succeeded.

Changes

TAC for 2 node database cluster is setup as per below documents

https://www.oracle.com/technetwork/database/options/clustering/applicationcontinuity/learnmore/ac-generic-checklist-4419403.pdf

https://www.oracle.com/technetwork/database/options/clustering/applicationcontinuity/applicationcontinuityformaa-6348196.pdf

 

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
References


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