JDBC Fails with Invalid connection string format When TNS Alias Contains Dots
Last updated on MARCH 08, 2017
Applies to:JDBC - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
JDBC/thin version 22.214.171.124 using the "oracle.net.tns_admin" property to access a tns entry that contains dots fails to connect with error:
java.sql.SQLRecoverableException: IO Error: Invalid connection string format, a valid format is: "host:port:sid"
The issue does not reproduce with JDBC 126.96.36.199 and lower versions.
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