My Oracle Support Banner

Deployment Not Possible with Multiple JVMs (Doc ID 986914.1)

Last updated on MARCH 04, 2019

Applies to:

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


Deploying a simple J2EE application after applying the Application Server Patchset fails with the following error in the $ORACLE_HOME/opmn/logs/default_group~<OC4J Instance>~default_group~1.log file if the OC4J instance where the deployment is performed has more than one JVM:

10/01/07 11:57:27 INFO: JVM.removeApplicationFromRuntime Removing application: downtimetest from container runtime
10/01/07 11:58:22 INFO: JVM.addApplicationToRuntime Adding application: downtimetest to container runtime
10/01/07 11:58:22 SEVERE: JVM.addApplicationToRuntime Error while adding application: downtimetest to container runtime: java.lang.InstantiationException: Unable to find/read file META-INF/ra.xml in $ORACLE_HOME/j2ee/<container>/connectors/downtimetest/downtimetest archive (IO Error: error in opening zip file)oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Unable to find/read file META-INF/ra.xml in $ORACLE_HOME/j2ee/<container>/connectors/downtimetest/downtimetest archive (IO Error: error in opening zip file)
        at com.evermind.server.RuntimeRarUpdater.addGlobalRarToRuntime(
        at com.evermind.server.ApplicationServer.addApplicationToRuntime(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at sun.reflect.misc.Trampoline.invoke(
        at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at sun.reflect.misc.MethodUtil.invoke(
        at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(
        at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(

Setting the number of JVMs to 1 fixes the problem




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

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