UCP version 126.96.36.199 Requires User Name For Pool Start
Last updated on MAY 18, 2017
Applies to:Universal Connection Pool - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
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 184.108.40.206 this works fine.
Using UCP 220.127.116.11 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:
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