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 APRIL 25, 2017

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

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