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

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 11.1.0.6 and later
Information in this document applies to any platform.
***Checked for relevance on 21-May-2015***

Symptoms


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.

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