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 10.1.3.5.0 and later
Oracle Fusion Middleware - Version 10.1.3.5.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

Deploying a simple J2EE application after applying the Application Server Patchset 10.1.3.5.0 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(RuntimeRarUpdater.java:108)
        at com.evermind.server.ApplicationServer.addApplicationToRuntime(ApplicationServer.java:4914)
        at oracle.oc4j.admin.management.mbeans.JVM.addApplicationToRuntime(JVM.java:664)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
        at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
        at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
        at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
        at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
 

Setting the number of JVMs to 1 fixes the problem

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.