My Oracle Support Banner

Ojdbc8.jar To Connect To Oracle 12.1 And 12.2 We Are Seeing "Invalid Oracle URL Specified" (Doc ID 2552029.1)

Last updated on JUNE 10, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

When connecting to Oracle database versions 12.1 and 12.2 using 12.2 ojdbc8.jar file with "( "character as part of the password fails with following exception 

java.sql.SQLException: Invalid Oracle URL specified 
        at oracle.jdbc.driver.PhysicalConnection.parseUrl(PhysicalConnection.java:1311) 
        at oracle.jdbc.driver.PhysicalConnection.readConnectionProperties(PhysicalConnect ion.java:1046) 
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:693) 
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:447) 
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:38 ) 
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691) 
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:390) 
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:279) 
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:202) 

 

It works fine when using standard characters in the password, No issues with either database version while using 12.1.0.2 ojdbc7.jar, 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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