Hi all,
 
 
I am trying to deploy a ear file which has a web application and Ejb application in it. When i try to deploy it to my local oc4j i got the below error:
-------------
C:\Jdev10g\jdk\jre\bin\javaw.exe -jar C:\Jdev10g\j2ee\home\admin.jar ormi://shahulhameed/ admin **** -deploy -file C:\Jdev10g\jdev\mywork\EpAPP\ViewController\deploy\epApplication.ear -deploymentName epApplication
Error: Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)

at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)

at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)

java.rmi.RemoteException: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1527)

at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1480)

at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)

at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)

at __Proxy0.deploy(Unknown Source)

at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)

at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)

at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)

Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)

at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)

at java.lang.Thread.run(Unknown Source)

---- Embedded exception

oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)

at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)

at java.lang.Thread.run(Unknown Source)

---- Embedded exception

java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)

at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)

at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)

at com.evermind.server.Application.postInit(Application.java:553)

at com.evermind.server.Application.setConfig(Application.java:170)

at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)

at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)

at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)

at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)

at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)

at java.lang.Thread.run(Unknown Source)

---- Embedded exception

java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application epApplication: Error loading package at file:/C:/Jdev10g/j2ee/home/applications/epApplication/ejb.jar,
Error compiling C:\Jdev10g\j2ee\home\applications\epApplication\ejb.jar: Syntax error in source

at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)

at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)

at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)

at com.evermind.server.Application.postInit(Application.java:553)

at com.evermind.server.Application.setConfig(Application.java:170)

at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)

at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)

at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)

at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)

at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)

at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)

at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)

at java.lang.Thread.run(Unknown Source)

Exit status of OC4J admin tool (-deploy): 1
Elapsed time for deployment: 10 minutes, 17 seconds

#### Deployment incomplete. #### Dec 21, 2004 4:53:17 PM
------------------

I rebuild the model project and the view controller project as well .. create new jar's and war's and then an ear which include both of them ..tried again ...i get the same error..

But when i try to deploy in Oracle 10g App Server using the web console it keeps processing and i could not see anything happening.. When i try to use dcmctl tool it does the same... it went for around :30 mins and does nothing..

Any help on this.

thanks
shahul