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

Last updated on AUGUST 03, 2016

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.
***Checked for relevance on 07-May-2013***

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.

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