My Oracle Support Banner

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 AUGUST 04, 2018

Applies to:

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


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




 Passwords for RAS users are created with SHA2 hashes.


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.