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 and later
Information in this document applies to any platform.


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( 
        at oracle.jdbc.driver.PhysicalConnection.readConnectionProperties(PhysicalConnect 
        at oracle.jdbc.driver.PhysicalConnection.<init>( 
        at oracle.jdbc.driver.T4CConnection.<init>( 
        at oracle.jdbc.driver.T4CDriverExtension.getConnection( ) 
        at oracle.jdbc.driver.OracleDriver.connect( 
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection( 
        at oracle.jdbc.pool.OracleDataSource.getConnection( 
        at oracle.jdbc.pool.OracleDataSource.getConnection( 


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




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.