My Oracle Support Banner

java.lang.IllegalStateException: unable to start connection creation task and oracle.ucp.UniversalConnectionPoolException Exception While Enabling Failover With Remote ONS Subscription (Doc ID 2286734.1)

Last updated on MARCH 14, 2023

Applies to:

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

Symptoms


When attempting to use the new jar files (ojdbc8.jar, ucp.jar and ons.jar) from 12.2.0.1.0 in an application using Universal Connection Pool (UCP) and remote ONS subscription, oracle.ucp.UniversalConnectionPoolException: Exception occurred while enabling failover with remote ONS subscription occurs at starting time.

 


All works fine using the next configuration:

ojdbc7-12.1.0.2.jar
ucp-12.1.0.2.jar
ons-12.1.0.2.jar

but fails using this one:

ojdbc8-12.2.0.1.jar
ucp-12.2.0.1.jar
ons-12.2.0.1.jar


The standalone java application has the next UCP configuration:

    init-method="init" destroy-method="destroy">




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.