users@glassfish.java.net

Re: EJB Container initialization error

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 20 Oct 2009 19:56:24 +0200

The Glassfish log file:

[#|2009-10-20T19:55:19.844+0200|SEVERE|glassfish|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=57;_ThreadName=Thread-3;|Exception
while invoking class org.glassfish.ejb.startup.EjbDeployer load method
java.lang.RuntimeException: EJB Container initialization error
        at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:180)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Error while binding JNDI name
com.kenai.puj.arena.model.entity.facade.PujCompetitionDetailsFacade__3_x_Internal_RemoteBusinessHome__
for EJB : PujCompetitionDetailsFacadeImpl
        at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:1482)
        ... 32 more
Caused by: javax.naming.NameAlreadyBoundException [Root exception is
org.omg.CosNaming.NamingContextPackage.AlreadyBound:
IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0]
        at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:75)
        ... 35 more
Caused by: org.omg.CosNaming.NamingContextPackage.AlreadyBound:
IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0
        at org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read(AlreadyBoundHelper.java:60)
        ... 41 more
|#]


2009/10/20 Felipe Gaścho <fgaucho_at_gmail.com>:
>     [exec] com.sun.enterprise.admin.cli.CommandException: remote
> failure: Exception while loading the app : java.lang.RuntimeException:
> EJB Container initialization error
>
> what that means ?
>
> I am trying to deploy an EJB -> JSF2.0 to the Glassfish V3....
>
>
> it seems that JSF 2.0 requires the EJB to be inside the war file ?
>
> I am trying to add the jsf2 war in an EAR file containing the EJBs..
>
>
> --
> Looking for a client application for this service:
> http://fgaucho.dyndns.org:8080/arena-http/wadl
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl