My Oracle Support Banner

TCP Timeout Issue with UCP ORA-01017: Invalid Username/Password (Doc ID 2942503.1)

Last updated on APRIL 16, 2023

Applies to:

Universal Connection Pool - Version 19.7 and later
Information in this document applies to any platform.


J2EE Application which is using Oracle Universal Connection Pool (UCP) version ( to connect to Oracle RAC Database (version RU 19.16) with SCAN listener configured.
The application encounter experienced issue under the flows below,
1. UCP first created a JDBC connect to RAC successfully.
2. Idle the JDBC connection over 90mins.
3. Database Server dropped the connection by Dead Connection Detection (DCD).
4. UCP detected a invalid JDBC connection and trying to re-create a new one.
However, it fails with ORA-01017.

 Cannot get Connection from Datasource: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
: [oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(, oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(,, oracle.ucp.common.Database.createPooledConnection(, oracle.ucp.common.Service$2.exec(, oracle.ucp.common.Service$2.exec(, oracle.ucp.actors.InterruptableActor.doAction(, oracle.ucp.common.Service.createConnectionInterruptably(, oracle.ucp.common.Service.create(, oracle.ucp.common.Service.create(, oracle.ucp.common.Topology.create(, oracle.ucp.common.Core.growBorrowed(, oracle.ucp.common.UniversalConnectionPoolImpl.helpGrowBorrowed(, oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(, oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionAndValidateHelper(,


The issue happens with below JDBC & UCP versions


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.