Last updated on JUNE 02, 2017
Applies to:JDBC - Version 18.104.22.168 and later
Information in this document applies to any platform.
Java application trying to connect to the database using JDBC thin 22.214.171.124 with connect string with tnsnames.ora alias entry fails with error:
java.sql.SQLException: Io exception: could not resolve the connect identifier
even after setting System.setProperty("oracle.net.tns_admin") to the location of the tnsnames.ora file.
The same connection succeeds with JDBC OCI.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms