My Oracle Support Banner

Connection To External Database From Oracle JVM Using Server Side Jdbc Thin Driver Throws Ora-01017 (Doc ID 1303712.1)

Last updated on AUGUST 09, 2023

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


A Java stored procedure uses the server-side JDBC/thin driver to connect to another database.
When the Java code is deployed to a pre-11g database the server-side JDBC/thin connection works fine.
After the Java code is deployed to a 11.2 database the server-side JDBC/thin connection fails with ORA-01017: invalid username/password; logon denied

If the Java code is run on an external JVM the connection works fine.

Despite the error ORA-01017 it has been determined that the username and password are correct and that this is not a case sensitivity issue.




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.