Error Connecting to Oracle database running on AIX platform using DMS and non-DMS JDBC Driver 11.2 with OAUTH marshaling or ORA-1017 (Doc ID 1363761.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 11.2.0.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 04-Apr-2013***

Symptoms

An application deployed on Weblogic and using the JDBC/thin  dms  driver version 11.2.0.1 ( ojdbc6dms.jar )  gets an OAUTH marshaling failure error when connecting to an Oracle database running on an AIX platform.

When the JDBC driver  is switched to a non-dms ojdbc6.jar the error becomes ORA-1017

ojdbc6dms.jar error:

<Error> <Console> <BEA-240003> <Console encountered the following error java.sql.SQLException: OAUTH marshaling failure
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:714)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:663)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:223)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:543)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:390)
at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:645)


ojdbc6.jar error:

<BEA-149205> <Failed to initialize the application 'OracleDS' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)

Caused By: weblogic.common.resourcepool.ResourceSystemException:
Could not connect to 'oracle.jdbc.xa.client.OracleXADataSource'
The returned message is: ORA-01017: invalid username/password; logon denied

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