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

Last updated on NOVEMBER 05, 2016

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

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