InvocationTargetException On Startup

(Doc ID 577687.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.3.1 to - Release: to AS10g
Information in this document applies to any platform.


When starting up a Coherence application, the following error occurs:

Failed to find an application descriptor -- loading DefaultApplication
Loaded cache configuration from resource "file:/opt/oracle/product/10.1.3/j2ee/OC4J_SHOP/applications/app/lib/coherence-cache-config.xml"
(Wrapped) java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at com.tangosol.util.ClassHelper.invoke(
    at com.tangosol.util.ClassHelper.invokeStatic(
Caused by: java.lang.IllegalStateException: A singleton for \"Coherence\" has already been set to a different type
    at com.tangosol.coherence.component.application.console.Coherence.get_Instance(Coherence.CDB:9)
    at com.tangosol.coherence.component.application.console.Coherence.getCluster(Coherence.CDB:10)
    at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:8)
    ... 34 more


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