My Oracle Support Banner

Can't Connect Using External Store Wallet and Proxy Authentication With Implicit Connection Cache (Doc ID 728940.1)

Last updated on MAY 12, 2011

Applies to:

JDBC - Version: 10.2.0.1 to 11.1.0.6 - Release: 10.2 to 11.1
Information in this document applies to any platform.

Symptoms

Attempts to connect to a database by using the 10.2.0.x or 11.1.0.6 JDBC OCI driver fail when the following features are present in the environment:

1. Using proxy authentication
2. Using an external password store (a wallet)
3. Using JDBC's implicit connection cache

When that combination of factors is present, the connection fails with the following exception:

Exception in thread "main" java.sql.SQLException: User credentials doesn't match the existing ones
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.pool.OracleImplicitConnectionCache.validateUser(OracleImplicitConnectionCache.java:292)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:327)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:404)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:189)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
at CacheProxyEntUser.main(CacheProxyEntUser.java:38)

The problem does not reproduce when the implicit connection cache is disabled.

Cause

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
  Symptoms
  Cause
  Solution
  References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.