My Oracle Support Banner

JDBC Connections Fail With "SO Exception was generated" When Using TNSNAMES Entry With Name Spread Across Multiple Lines (Doc ID 2950976.1)

Last updated on MAY 24, 2023

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

When using a JDBC Thin driver to connect to a 19c database using a TNSNAMES entry, connections are failing with the following exception:

 

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.