My Oracle Support Banner

oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource After Changing User Password (Doc ID 2407765.1)

Last updated on AUGUST 30, 2023

Applies to:

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

Symptoms

After changing passwords of the users of a Tomcat application using UCP and JDBC 12.1.0.1,  a new application war file is created and moved into a java environment. 

When Tomcat starts up, it fails with the error:

java.lang.Exception: Exception in ConnectionPool constructor():
oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource

The application has a verify_password function that validates the password to be of a certain length. After changing the passwords to the new length required by verify_password function, the connections fail.

Resetting passwords to what they were before being changed works fine.

 

Changes

 Passwords were changed.

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
Changes
Cause
Solution


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