On 7/3/11 3:25 AM, Jose Alvarez de Lara wrote:
> Hi
> I am trying the AffableBean web app on Eclipse Helios SR1.
Which version of the GlassFish plugin? The latest one if from end of
June 2011....Use it...
Also, 3.1 had issue with exploded archives deployment...
See
http://java.net/jira/browse/GLASSFISHPLUGINS-324 if this applies,
and try the workaround described at the end,
You can also try a latest promoted GlassFish 3.1.1 build.
Ludo
> I have created AffableBean-jpa and AffableBean-ejb projects.
> Then I created AffableBean-web as a dynamic web project including
> the EJB project as a jar file in the lib folder.
> Everythig seem to go ok but when I try to deploy on GF 3.1
> I get the following exception,
> [#|2011-07-02T18:40:52.125+0200|WARNING|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=35;_ThreadName=Thread-1;|java.lang.IllegalStateException:
> ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
> org.apache.catalina.LifecycleException: javax.ejb.EJBException
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException:
> org.apache.catalina.LifecycleException: javax.ejb.EJBException
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:619)
> The EJB project contains the packages cart, entity and session and the
> Web project contains
> controller, filter and validate.
> I do not understand what the exception means so any help should be
> appreciated.
> Kind regards,
> Jose