3 Replies Latest reply on Mar 20, 2011 6:07 PM by Daniel Hinojosa

    Glassfish v3 error with seam-servlet 3.0.0.CR3 Latest

    Daniel Hinojosa Master

      I deployed this application onto Jboss 6.0.0.Final just fine.  When deploying to Glassfish v3, I received the following stack traces, eventhough documentation states that no added setup is required:


      [#|2011-03-20T15:25:23.866-0600|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=24;_ThreadName=admin-thread-pool-4848(6);|PWC1305: Exception during cleanup after start failed
      org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
              at org.apache.catalina.session.StandardManager.stop(StandardManager.java:872)
              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5509)
              at com.sun.enterprise.web.WebModule.stop(WebModule.java:529)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
              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)
      



      [#|2011-03-20T15:25:23.870-0600|SEVERE|glassfish3.1|org.apache.catalina.core.ContainerBase|_ThreadID=24;_ThreadName=admin-thread-pool-4848(6);|ContainerBase.addChild: start: 
      org.apache.catalina.LifecycleException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5328)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
              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 org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143)
              at org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:406)
              at org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:100)
              at org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:76)
              at org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(DeploymentHandler.java:191)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
      



      Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
              at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
              at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
              at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1$1.proceed(ManagedBean.java:182)
              at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:134)
              at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:50)
              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1.work(ManagedBean.java:176)
              at org.jboss.weld.bean.ManagedBean$FixInjectionPoint.run(ManagedBean.java:142)
              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.inject(ManagedBean.java:170)
              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:339)
              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:124)
              at org.jboss.seam.servlet.event.org$jboss$weld$bean-WEB-INF$lib$seam-servlet-3$0$0$CR3-ManagedBean-class_org$jboss$seam$servlet$event$ImplicitServletObjectsHolder_$$_WeldClientProxy.contextInitialized(org$jboss$weld$bean-WEB-INF$lib$seam-servlet-3$0$0$CR3-ManagedBean-class_org$jboss$seam$servlet$event$ImplicitServletObjectsHolder_$$_WeldClientProxy.java)
      



      [#|2011-03-20T15:25:23.881-0600|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=95;_ThreadName=admin-thread-pool-4848(6);|java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
      java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
              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 org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143)
              at org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:406)
              at org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:100)
              at org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:76)
              at org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(DeploymentHandler.java:191)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      



      [#|2011-03-20T15:25:23.885-0600|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=95;_ThreadName=admin-thread-pool-4848(6);|Exception while invoking class com.sun.enterprise.web.WebApplication start method
      java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:130)
              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)