oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource After Changing User Password

(Doc ID 2407765.1)

Last updated on JUNE 05, 2018

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

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