My Oracle Support Banner

"java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection" When JDBC URL Uses A TNS_ENTRY And It Contains Multiple NET_SERVICE_NAME In The Same Line (Doc ID 2885735.1)

Last updated on AUGUST 01, 2023

Applies to:

JDBC - Version 11.1.0.7 to 19.0.0.1 [Release 11.1 to 18c]
Information in this document applies to any platform.

Symptoms

When the tnsnames.ora is used for the connection in JDBC and there are multiple net_service_name entries in the same line as shown below, the error shown is reported.

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


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