quality@glassfish.java.net

Re: WAR DeploymentContext needing EJBs o_O ?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 14 Oct 2009 09:56:39 -0400

Hi, Paul
   Somehow it thinks acme-web-war-0_9_0-SNAPSHOT_war is a ejb jar also,
what's the contents of this war?

- Hong

Judy Tang wrote:

> Hi Paul,
>
> Sorry, we missed this thread. Let me bring this up.
>
> We have a few bugs filed on JavaEE5 samples fail to deploy on gfv3.
> Would like to get help
> to look into why NullPointerException occured while invoking class
> org.glassfish.ejb.startup.EjbDeployer load method ?
>
> Thanks for testing !
> Judy
> Paul MERLIN wrote:
>
>> Hi folks,
>>
>> I'm still on gf3-b66 and still in the process to get our jee5 app
>> deployed into gfv3.
>>
>> From what I understand it tells me that one of my WARs does not
>> contains any EJBs o_O
>>
>>
>>
>> paul_at_dosadi $ asadmin deploy
>> ~/src/acme-ear/target/acme-ear-1.3.0-SNAPSHOT.ear
>>
>> com.sun.enterprise.admin.cli.CommandException: remote failure:
>> Exception while shutting down application container :
>> java.lang.NullPointerException
>> Exception while invoking class org.glassfish.ejb.startup.EjbDeployer
>> load method : java.lang.RuntimeException: Unable to load EJB module.
>> DeploymentContext does not contain any EJB Check archive to ensure
>> correct packaging for
>> /home/paul/opt/gf3/glassfish/domains/fishcat/applications/acme-ear-1.3.0-SNAPSHOT/acme-web-war-0_9_0-SNAPSHOT_war
>>
>>
>>
>>
>> [#|2009-10-12T15:57:13.721+0200|SEVERE|glassfish|javax.enterprise.system.core.org.glassfish.internal.data|
>>
>> _ThreadID=49;_ThreadName=Thread-3;|Exception while invoking class
>> org.glassf
>> ish.ejb.startup.EjbDeployer load method
>> java.lang.RuntimeException: Unable to load EJB module.
>> DeploymentContext does not contain any EJB Check archive to ensure
>> correct packaging for
>> /home/paul/opt/gf3/glassfish/domains/fishcat/applications/acme-ear-1.3.0-SNAPSHOT/acme-web-
>>
>> war-0_9_0-SNAPSHOT_war
>> at
>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:128)
>> at
>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:64)
>> at
>> org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:163)
>> at
>> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:194)
>>
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:306)
>>
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
>>
>> at
>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:404)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:419)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1343)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$800(CommandRunnerImpl.java:80)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1393)
>>
>> at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1382)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:354)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:194)
>> 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:226)
>>
>> at
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)
>> at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)
>> at
>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)
>> at
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>>
>> at
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>>
>> at
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>>
>> at
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>>
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>> at
>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)
>>
>> at
>> com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)
>>
>> at java.lang.Thread.run(Thread.java:619)
>> |#]
>>
>>
>>
>>
>> Any clue ?
>>
>> Best regards
>>
>> /Paul
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>