Trying to Set Up External Password Store with JDBC Thin Fails With could not resolve the connect identifier

(Doc ID 2400231.1)

Last updated on MAY 23, 2018

Applies to:

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


Following the SecureExternalPassword sample in <Document:1123423.1> How To Use an External Password Store with JDBC/Thin, the sample program is modified to point to the location of his tnsnames.ora file.

After successful compilation of the program, its execution fails with:


java.sql.SQLException: IO Error: could not resolve the connect identifier "MKCDB_RM"

  at oracle.jdbc.driver.T4CConnection.logon(

  at oracle.jdbc.driver.PhysicalConnection.(

  at oracle.jdbc.driver.T4CConnection.(

  at oracle.jdbc.driver.T4CDriverExtension.getConnection(

  at oracle.jdbc.driver.OracleDriver.connect(

  at java.sql.DriverManager.getConnection(

  at java.sql.DriverManager.getConnection(

  at sep.main(

Caused by: could not resolve the connect identifier "MKCDB_RM"





  at oracle.jdbc.driver.T4CConnection.connect(

  at oracle.jdbc.driver.T4CConnection.logon(

  ... 7 more




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