dev@glassfish.java.net

Re: java.lang.RuntimeException: Null EjbBundleDescripto with glassfish beta 62

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 11 Sep 2009 21:42:49 +0200

It may be that Hong didn't get the attachement (I didn't), so in any
case I've posted it here :
http://mediacast.sun.com/users/am74686/media/webapp-contacts-jsf2.zip
(Damien I hope that's ok with you).

cheers,
-Alexis

On Sep 11, 2009, at 15:06, damien.gouyette_at_gmail.com wrote:

> yes i have one. i sent source code before if you want can have a
> look on it.
>
>
> Le 11 sept. 2009 à 14:58, Hong Zhang <Hong.Zhang_at_Sun.COM> a écrit :
>
>>
>>> Thanks for your answer, i don't have any ejb-jar.xml/sun-ejb-
>>> jar.xml packaged in my webapp
>>>
>> Do you have any EJBs in your application? There must be something
>> EJB-like in the archive which brings EJBDeployer to the picture...
>>>
>>> Le 11 sept. 2009 à 03:10, Hong Zhang a écrit :
>>>
>>>> Hi, Damien
>>>> The stack trace indicates when the EjbDeployer tried to load
>>>> the ejb portion of the application, it could not find the
>>>> relevant parsed metadata. This usually happens when you mis-
>>>> package an archive. Can you check the packaging in your
>>>> application, see if an ejb-jar.xml/sun-ejb-jar.xml was packaged
>>>> in your web application without any EJBs?
>>>>
>>>> - Hong
>>>>
>>>> Damien Gouyette wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> My platform is :
>>>>>
>>>>> Mac OS X 10.6
>>>>>
>>>>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
>>>>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
>>>>>
>>>>> See attachment source code to reproduce the problem
>>>>>
>>>>> I have the following stacktrace when i try to use EJB 3.1 with
>>>>> Glassfish B 62
>>>>>
>>>>> GRAVE: Exception while invoking class
>>>>> org.glassfish.ejb.startup.EjbDeployer load method
>>>>> java.lang.RuntimeException: Null EjbBundleDescriptor /Users/
>>>>> damien/developpement/workspaces/WS-netbeans/webapp-contacts-jsf2/
>>>>> target/webapp-contacts-jsf2 in EjbDeployer.load()
>>>>> at
>>>>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:125)
>>>>> at
>>>>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>>>>> at
>>>>> org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:157)
>>>>> at
>>>>> org
>>>>> .glassfish
>>>>> .internal.data.ApplicationInfo.load(ApplicationInfo.java:197)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:
>>>>> 310)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:
>>>>> 174)
>>>>> at
>>>>> org
>>>>> .glassfish
>>>>> .deployment.admin.DeployCommand.execute(DeployCommand.java:270)
>>>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl
>>>>> $4.execute(CommandRunnerImpl.java:403)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:332)
>>>>> at
>>>>> com
>>>>> .sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:
>>>>> 184)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:
>>>>> 166)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:
>>>>> 100)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .enterprise
>>>>> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:
>>>>> 215)
>>>>> at
>>>>> com
>>>>> .sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:
>>>>> 752)
>>>>> at
>>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:
>>>>> 660)
>>>>> at
>>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:911)
>>>>> at
>>>>> com
>>>>> .sun
>>>>> .grizzly
>>>>> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:
>>>>> 164)
>>>>> at
>>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(