Hi,

I am trying to deploy an EAR file in WL 7.0. But I am getting the following error -
----------------
[FileUploadAction] upload started
[FileUploadAction] upload complete
<Aug 20, 2004 5:41:36 PM IST> <Error> <EJB> <010069> <Error preparing EJB Module
 : MTRSTestApplication.jar
Exception is :

Unable to deploy EJB: MTRSTestApplication.jar from MTRSTestApplication.jar:

EJB : OOSServicePurchaseFacadeEJB .Unable to initialize method info for remote o
r home interface.The error is java.lang.OutOfMemoryError
        <

        at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:158)
        at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:384)
        at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:487)
        at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:799)
        at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1248)
        at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
        at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationC
ontainer.java:1425)
        at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:650)
        at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:548)
        at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:1026)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:700)
        at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:24)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
----------------

Sometimes it gives the following error and WLS crashes.
 
---------------------------
[FileUploadAction] upload started
[FileUploadAction] upload complete
<Aug 20, 2004 12:35:21 PM IST> <Error> <Deployer> <149233> <Unexpected error was
 encountered during the deployment process.>
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4349254E560E43505000F4
#
# Problematic Thread: prio=5 tid=0x80f6e0 nid=0xd70 runnable
#
 
C:\bea\user_projects\MTRSDomain>ENDLOCAL
---------------------------

Please help.

Thank you for your time and efforts.

Regards,

Harsh