My Oracle Support Banner

java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Failed to create initialPoolSize connections while starting a pool When Creating ONS Configuration String (Doc ID 2258918.1)

Last updated on OCTOBER 31, 2022

Applies to:

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

Symptoms

On : 12.1.0.2.0 version, Connection Pool Management

The following information is to be configured in ONS configuration string:

usesharedinstall=true
allowgroup=true
localport=6100
remoteport=6200
nodes=nodea:6200,nodeb:6200

However, if it is concatenated with newlines, as indicated in section 'Remote Configuration' of Chapter 8 Using Oracle RAC Features, to make it look like this:


the following error is received:


org.hibernate.exception.GenericJDBCException: Cannot open connection
...
Caused by: java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Failed to create initialPoolSize connections while starting a pool



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


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