Oracle iPlanet Web Server 7 JDBC Client Fails To Connect To Oracle Database When Using OCI Type-2 Driver.
Last updated on NOVEMBER 05, 2016
Applies to:Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.
When using Oracle Web Server 7 and using Oracle 11g/12c or 9i OCI JDBC driver with the OCI connection string ("jdbc:oracle:oci:@localhost:1521:orcl"), the JDBC driver fails to connect to the database and shows an error like "java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified":
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