My Oracle Support Banner

Exception "Missing class: oracle.ons.ONSException" When Using Fast Connection Failover (Doc ID 473325.1)

Last updated on APRIL 09, 2018

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.


When JDBC Fast Connection Failover (FCF) feature is enabled inside container's data-sources.xml file, the container fails to start with the following exception:

SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors.
Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.DataSourceException:
Could not get/create instance of ConnectionCacheManager. Exception:

Missing class: oracle.ons.ONSException

Dependent class: oracle.jdbc.pool.OracleConnectionCacheManager
Loader: oracle.jdbc:10.2
Code-Source: /opt/oracle/product/10.1.3/mid1/j2ee/life01/shared-lib/oracle.jdbc/10.2/ojdbc14.jar
Configuration: <code-source> in

The missing class is available from the following locations:

1. Code-Source: /opt/oracle/product/10.1.3/mid1/opmn/lib/ons.jar (from <code-source>
(ignore manifest Class-Path) in META-INF/boot.xml in
This code-source is available in loader oracle.jdbc:10.1.0_2

If FCF is disabled, the container started correctly.




To view full details, 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 a vibrant support community of peers and Oracle experts.