users@glassfish.java.net

Re: Exception while loading the app : java.lang.RuntimeException: EJB Container

From: <glassfish_at_javadesktop.org>
Date: Tue, 06 Apr 2010 18:34:22 PDT

You say,
And did you check the web.xml in your archive to see if it references 2.5+ web schema?

I am guessing that is the problem. When I develop the app in Eclipse IDE it does not create the exact reference for every descriptor. I am working with EJB 3.1 but the IDE creates a 3.0 reference and the same for JPA 2.0 and JSF 2.0.

Excuse me if I response a little bit late but I have been busy. I have tried the app on NB 6.8. Everything seemed to go ok until deployment. This is the error I have got,

Initial deploying EmployeeJPA20EAR to C:\Documents and Settings\Personal\Mis documentos\NetBeansProjects\EmployeeJPA20EAR\dist\gfdeploy\EmployeeJPA20EAR
Completed initial distribution of EmployeeJPA20EAR
deploy?path=C:\Documents and Settings\Personal\Mis documentos\NetBeansProjects\EmployeeJPA20EAR\dist\gfdeploy\EmployeeJPA20EAR&name=EmployeeJPA20EAR&force=true failed on GlassFish v3
C:\Documents and Settings\Personal\Mis documentos\NetBeansProjects\EmployeeJPA20EAR\nbproject\build-impl.xml:268: The module has not been deployed.
BUILD FAILED (total time: 8 seconds)

The App.zip includes the EJB project, the Web project and the built EAR project. See you can open on NB 6.8 and try it.

Thanks so much,
Jose
[Message sent by forum member 'josealvarezdelara']

http://forums.java.net/jive/thread.jspa?messageID=395612