Unable to Deploy Ear File "Java.Lang.OutOfMemoryError" (Doc ID 372711.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.0 to 10.1.2.3.0 - Release: AS10gR2 to AS10gR2
Information in this document applies to any platform.
Checked for relevance on 08-FEB-2012

Symptoms

When deploying a new application to an existing OC4J instance that already is running several
applications, an out of memory error is occurring and deployment is failing.

The deployment error is,

ADMN-300075
Nested exception
Resolution:

Base Exception:
com.evermind.server.rmi.OrionRemoteException
Error reading exception: java.io.EOFException; nested exception is:
java.io.EOFException
com.evermind.server.rmi.OrionRemoteException: Error reading exception: java.io.EOFException

Verified the error in the OC4J instance log in ORACLE_HOME/opmn/logs.

ERROR [ApplicationServerThread-7] context.ContextLoader (ContextLoader.java:182) - Context
initialization failed
java.lang.OutOfMemoryError
06/06/01 17:34:03 Uncaught exception RMICallHandler java.lang.OutOfMemoryError - null
06/06/01 17:34:03 java.lang.OutOfMemoryError


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