My Oracle Support Banner

JDBC Thin Connection Confusion between Service and SID Results in ORA-12505 (Doc ID 420447.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Applications DBA - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

JDBC thin connector is attempting to connect to the RAC database using the Service Name when it should be using the SID. This results in connection failure with a ORA-12505 error.

Attempts to workaround this problem by setting the TWO_TASK variable to a specific SID also fail.

Changes

 

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.