JDBC Applications Fail With “ORA-1005: null password given; logon denied.” When Connecting With RAS User To The Database

(Doc ID 2011794.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Connecting to a database using a JDBC application with a Real Application Security(RAS) user fails with the following error: 

“ORA-1005: null password given; logon denied.”

 

 



Connecting with  SQL Developer using the same user yields this

 

 

Changes

 Passwords for RAS users are created with SHA2 hashes.

Cause

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