My Oracle Support Banner

Configuring Fast Connection Failover gives a JAVA.LANG.InstantiationException Error (Doc ID 341149.1)

Last updated on JULY 03, 2020

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.2.0.2 [Release AS10g to AS10gR2]
Information in this document applies to any platform.

Symptoms

Trying to set up Fast Connection Failover as described in this article on the Oracle Technology Network (OTN):

OC4J Data Sources: Implicit Connection Caching and Fast Connection Failover


However, when the property "fastConnectionFailoverEnabled" is set in the configuration file data-sources.xml, OC4J cannot create the DataSource object, and produces the following error:

java.lang.InstantiationException: Error introspecting @ datasource of type
oracle.jdbc.pool.OracleDataSource, error setting
property:java.lang.reflect.InvocationTargetException

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

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