UCP version 12.2.0.1 Requires User Name For Pool Start
(Doc ID 2267158.1)
Last updated on AUGUST 09, 2023
Applies to:
Universal Connection Pool - Version 12.1.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
An application defines a UCP data source that does not contain the user/password.
The connections are retrieved as:
Connection connection = dataSource.getConnection("<LOGIN>", "<PASSWORD>");
The initial pool size is 0.
Using UCP 12.1.0.2 this works fine.
Using UCP 12.2.0.1 this fails as UCP is trying to create a connection when the pool is started:
java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
This issue can be demonstrated using the following sample code:
Changes
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 |
References |