java.lang.IllegalStateException: Unknown JCDI-enabled managed bean com.sun.xml.ws.transport.http.servlet.WSServletContextListener@2fabcad0 of class class com.sun.xml.ws.transport.http.servlet.WSServletContextListener

Oracle Community | pablopina | 6 years ago
  1. 0

    IllegalStateException: Unknown JCDI-enabled managed bean com.sun.xml.ws.tra

    Oracle Community | 6 years ago | pablopina
    java.lang.IllegalStateException: Unknown JCDI-enabled managed bean com.sun.xml.ws.transport.http.servlet.WSServletContextListener@2fabcad0 of class class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
  2. 0

    It would appear there is problem with the CDI Container service in Glassfish 4.0 b78 fails to be initialised. I even tried a new WAR with just a single POJO, a dummy Java class with no methods at all, and I received the same error. There is not an issue with GlassFish 4.0 b77 server, only since I upgraded. [main] INFO org.jboss.weld.Version - WELD-000900 SNAPSHOT [main] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom >>>> SampleSingleton.init() called Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.servlet.TyrusServletContainerInitializer onStartup INFO: Registering WebSocket filter for url pattern /* Mar 07, 2013 9:33:48 AM com.sun.enterprise.web.WebApplication start INFO: Loading application [mywebapp] at [/mywebapp] [weld-worker-2] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.ChatServiceEndPoint.chatRoom [weld-worker-3] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom [main] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom Mar 07, 2013 9:33:48 AM com.sun.enterprise.v3.server.ApplicationLifecycle deploy SEVERE: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:247) at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:364) >>>> SampleSingleton.destroy() called at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:528) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:524) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:357) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:523) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133) at je7hb.common.webcontainer.embedded.glassfish.AbstractEmbeddedRunner.deployWithRename(AbstractEmbeddedRunner.java:73) at je7hb.common.weber.embedded.glassfish.EmbeddedRunner.main(EmbeddedRunner.java:19) Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:381) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:309) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:172) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:203) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:493) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Mar 07, 2013 9:33:48 AM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@5e9b0166 Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@6150e9a2 Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@39ece0e3 Mar 07, 2013 9:33:48 AM com.sun.web.server.WebContainerListener preDestroy SEVERE: Exception during invocation of InjectionManager.destroyManagedObject on org.glassfish.tyrus.servlet.TyrusServletFilter@24633a36 of web module StandardEngine[glassfish-web].StandardHost[server].StandardContext[/mywebapp] java.lang.IllegalStateException: Unknown JCDI-enabled managed bean org.glassfish.tyrus.servlet.TyrusServletFilter@24633a36 of class class org.glassfish.tyrus.servlet.TyrusServletFilter at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.destroyManagedBean(ManagedBeanManagerImpl.java:628) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:439) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:414) at com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:186) at com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:151) at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1579) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:334) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:5319) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:6082) at com.sun.enterprise.web.WebModule.stop(WebModule.java:725) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1172) at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2438) at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2393) at com.sun.enterprise.web.WebApplication.stop(WebApplication.java:191) at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161) at com.sun.enterprise.v3.server.ApplicationLifecycle$2.actOn(ApplicationLifecycle.java:268) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:503) at com.sun.enterprise.v3.servecationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:528) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:524) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:357) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:523) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133) at je7hb.common.webcontainer.embedded.glassfish.AbstractEmbeddedRunner.deployWithRename(AbstractEmbeddedRunner.java:73) at je7hb.common.webcontainer.embedded.glassfish.EmbeddedRunner.main(EmbeddedRunner.java:19) Mar 07, 2013 9:33:48 AM org.glassfish.weld.WeldDeployer event WARNING: JCDI shutdown error java.lang.IllegalStateException: Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly? at org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52) at org.jboss.weld.Container.instance(Container.java:54) at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:597) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:293) at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Mar 07, 2013 9:33:48 AM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:381) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:309) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:172) at org.jboss.weld.bootstrap.Validator.validateRIBean(Valjava:203) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:493) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) **** Press the ENTER key to stop the server **** > Building > :run Mar 07, 2013 9:33:51 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMXStartupService and JMXConnectors have been shut down. JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool] Mar 07, 2013 9:33:51 AM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished BUILD SUCCESSFUL Total time: 14.432 secs peterpilgrim@Peters-MacBook-Pro-3.local [1110] >

    Java.net JIRA | 4 years ago | peter_pilgrim
    java.lang.IllegalStateException: Unknown JCDI-enabled managed bean org.glassfish.tyrus.servlet.TyrusServletFilter@24633a36 of class class org.glassfish.tyrus.servlet.TyrusServletFilter
  3. 0

    It would appear there is problem with the CDI Container service in Glassfish 4.0 b78 fails to be initialised. I even tried a new WAR with just a single POJO, a dummy Java class with no methods at all, and I received the same error. There is not an issue with GlassFish 4.0 b77 server, only since I upgraded. [main] INFO org.jboss.weld.Version - WELD-000900 SNAPSHOT [main] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom >>>> SampleSingleton.init() called Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.servlet.TyrusServletContainerInitializer onStartup INFO: Registering WebSocket filter for url pattern /* Mar 07, 2013 9:33:48 AM com.sun.enterprise.web.WebApplication start INFO: Loading application [mywebapp] at [/mywebapp] [weld-worker-2] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.ChatServiceEndPoint.chatRoom [weld-worker-3] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom [main] WARN org.jboss.weld.Bootstrap - WELD-001440 Scope type @javax.enterprise.context.ApplicationScoped() used on injection point [BackedAnnotatedField] @Inject @ApplicationScoped private je7hb.websocket.basic.FakeServlet.chatRoom Mar 07, 2013 9:33:48 AM com.sun.enterprise.v3.server.ApplicationLifecycle deploy SEVERE: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:247) at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:364) >>>> SampleSingleton.destroy() called at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:528) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:524) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:357) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:523) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133) at je7hb.common.webcontainer.embedded.glassfish.AbstractEmbeddedRunner.deployWithRename(AbstractEmbeddedRunner.java:73) at je7hb.common.weber.embedded.glassfish.EmbeddedRunner.main(EmbeddedRunner.java:19) Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:381) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:309) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:172) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:203) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:493) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Mar 07, 2013 9:33:48 AM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@5e9b0166 Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@6150e9a2 Mar 07, 2013 9:33:48 AM org.glassfish.tyrus.server.TyrusServerContainer stop INFO: Closing down : org.glassfish.tyrus.server.TyrusEndpoint@39ece0e3 Mar 07, 2013 9:33:48 AM com.sun.web.server.WebContainerListener preDestroy SEVERE: Exception during invocation of InjectionManager.destroyManagedObject on org.glassfish.tyrus.servlet.TyrusServletFilter@24633a36 of web module StandardEngine[glassfish-web].StandardHost[server].StandardContext[/mywebapp] java.lang.IllegalStateException: Unknown JCDI-enabled managed bean org.glassfish.tyrus.servlet.TyrusServletFilter@24633a36 of class class org.glassfish.tyrus.servlet.TyrusServletFilter at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.destroyManagedBean(ManagedBeanManagerImpl.java:628) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:439) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:414) at com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:186) at com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:151) at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1579) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:334) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:5319) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:6082) at com.sun.enterprise.web.WebModule.stop(WebModule.java:725) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1172) at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2438) at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2393) at com.sun.enterprise.web.WebApplication.stop(WebApplication.java:191) at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161) at com.sun.enterprise.v3.server.ApplicationLifecycle$2.actOn(ApplicationLifecycle.java:268) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:503) at com.sun.enterprise.v3.servecationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:528) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:524) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:357) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:523) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133) at je7hb.common.webcontainer.embedded.glassfish.AbstractEmbeddedRunner.deployWithRename(AbstractEmbeddedRunner.java:73) at je7hb.common.webcontainer.embedded.glassfish.EmbeddedRunner.main(EmbeddedRunner.java:19) Mar 07, 2013 9:33:48 AM org.glassfish.weld.WeldDeployer event WARNING: JCDI shutdown error java.lang.IllegalStateException: Singleton is not set. Is your Thread.currentThread().getContextClassLoader() set correctly? at org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52) at org.jboss.weld.Container.instance(Container.java:54) at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:597) at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:293) at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Mar 07, 2013 9:33:48 AM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [InstanceManager] with qualifiers [@Default] at injection point [[UnbackedAnnotatedParameter] Parameter 1 of [UnbackedAnnotatedConstructor] @Inject protected org.jboss.weld.environment.se.WeldContainer(InstanceManager, BeanManager)] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:381) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:309) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:172) at org.jboss.weld.bootstrap.Validator.validateRIBean(Valjava:203) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:493) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) **** Press the ENTER key to stop the server **** > Building > :run Mar 07, 2013 9:33:51 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMXStartupService and JMXConnectors have been shut down. JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool] Mar 07, 2013 9:33:51 AM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished BUILD SUCCESSFUL Total time: 14.432 secs peterpilgrim@Peters-MacBook-Pro-3.local [1110] >

    Java.net JIRA | 4 years ago | peter_pilgrim
    java.lang.IllegalStateException: Unknown JCDI-enabled managed bean org.glassfish.tyrus.servlet.TyrusServletFilter@23644cf3 of class class org.glassfish.tyrus.servlet.TyrusServletFilter
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jersey - Using Netbeans 6.9.1/Gassfish 3.0.1 and Jersey 1.5

    nabble.com | 4 months ago
    java.lang.IllegalStateException: Unknown JCDI-enabled managed bean com.sun.jersey.spi.container.servlet.ServletContainer@602bace2 of class class com.sun.jersey.spi.container.servlet.ServletContainer
  6. 0

    JAX-RS on Glassfish 3.1: @EJB injection?

    Oracle Community | 6 years ago | ljnelson
    java.lang.IllegalStateException: Unknown JCDI-enabled managed bean > com.sun.jersey.spi.container.servlet.ServletContainer@13f6edc5 of > class class com.sun.jersey.spi.container.servlet.ServletContainer > at > com > .sun > .enterprise > .container > .common > .impl > .managedbean > .ManagedBeanManagerImpl > .destroyManagedBean(ManagedBeanManagerImpl.java:534) > at > com > .sun > .enterprise > .container > .common > .impl > .util > .InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java: > 340) > at > com > .sun > .web > .server > .J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:324) > at > com > .sun > .web > .server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java: > 108) > at > org > .apache > .catalina > .util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:381) > at > org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java: > 1740) > at > org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java: > 2036) > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java: > 5482) >

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unknown JCDI-enabled managed bean com.sun.xml.ws.transport.http.servlet.WSServletContextListener@2fabcad0 of class class com.sun.xml.ws.transport.http.servlet.WSServletContextListener

      at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.destroyManagedBean()
    2. Container Common
      InjectionManagerImpl.destroyManagedObject
      1. com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.destroyManagedBean(ManagedBeanManagerImpl.java:625)
      2. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:405)
      2 frames
    3. Glassfish
      WebContainerListener.containerEvent
      1. com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:171)
      2. com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:135)
      2 frames
    4. Glassfish Core
      StandardContext.stop
      1. org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1497)
      2. org.apache.catalina.core.StandardContext.contextListenerStop(StandardContext.java:4786)
      3. org.apache.catalina.core.StandardContext.stop(StandardContext.java:5525)
      3 frames
    5. Glassfish
      WebModule.stop
      1. com.sun.enterprise.web.WebModule.stop(WebModule.java:523)
      1 frame
    6. Glassfish Core
      ContainerBase.removeChild
      1. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1045)
      1 frame
    7. Glassfish
      WebApplication.stop
      1. com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2129)
      2. com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2084)
      3. com.sun.enterprise.web.WebApplication.stop(WebApplication.java:144)
      3 frames
    8. Private APIs of Glassfish
      ApplicationInfo.stop
      1. org.glassfish.internal.data.EngineRef.stop(EngineRef.java:166)
      2. org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:269)
      3. org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:264)
      3 frames
    9. Embedded GlassFish Web
      DisableCommand.execute
      1. org.glassfish.deployment.admin.DisableCommand.execute(DisableCommand.java:234)
      1 frame
    10. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:368)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:378)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1070)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1185)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1174)
      6 frames
    11. Embedded GlassFish Web
      UndeployCommand.execute
      1. org.glassfish.deployment.admin.UndeployCommand.execute(UndeployCommand.java:258)
      1 frame
    12. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:368)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:378)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1070)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1185)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1174)
      6 frames
    13. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.handleRedeploy(DeployCommand.java:558)
      2. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:256)
      2 frames
    14. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:368)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:378)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1070)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1185)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1174)
      6 frames
    15. Embedded GlassFish Web
      ReDeployCommand.execute
      1. org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:122)
      1 frame
    16. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:363)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:378)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1070)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1185)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1174)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:371)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:205)
      8 frames
    17. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
      1 frame
    18. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:113)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
      2 frames
    19. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:823)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:720)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:530)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
      13 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame