My Oracle Support Banner

Oracle iPlanet Web Server 7 JDBC Client Fails To Connect To Oracle Database When Using OCI Type-2 Driver. (Doc ID 1515107.1)

Last updated on OCTOBER 19, 2018

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":



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.