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: to - Release: AS10gR2 to AS10gR2
Information in this document applies to any platform.
Checked for relevance on 08-FEB-2012


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,

Nested exception

Base Exception:
Error reading exception: java.io.EOFException; nested exception is:
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
06/06/01 17:34:03 Uncaught exception RMICallHandler java.lang.OutOfMemoryError - null
06/06/01 17:34:03 java.lang.OutOfMemoryError


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