org.glassfish.deployment.common.DeploymentException: Aborting, Failed to > start container com.sun.enterprise.web.WebContainer > at > org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) > at > org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186) > 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:1048) > 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) >

Oracle Community | thecid | 5 years ago
  1. 0

    cluster + mod_jk loadbalancer  (+ session replication)

    Oracle Community | 5 years ago | thecid
    org.glassfish.deployment.common.DeploymentException: Aborting, Failed to > start container com.sun.enterprise.web.WebContainer > at > org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) > at > org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186) > 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:1048) > 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) >
  2. 0

    Re: OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish  3.1)

    Oracle Community | 5 years ago | Nithya Subramanian Guest
    org.glassfish.deployment.common.DeploymentException: Error in >> linking security policy for com.mywar_1.0.0.SNAPSHOT -- Inconsistent >> Module >> State >> at >> com.sun.enterprise.security.SecurityUtil.linkPolicyFile(SecurityUtil.java:335) >> >> at >> com.sun.enterprise.security.SecurityDeployer.linkPolicies(SecurityDeployer.java:279) >> >> at >> com.sun.enterprise.security.SecurityDeployer.access$100(SecurityDeployer.java:81) >> >> at >> com.sun.enterprise.security.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:114) >> >>
  3. 0

    Re: OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish  3.1)

    Oracle Community | 5 years ago | Nithya Subramanian Guest
    org.glassfish.deployment.common.DeploymentException: Error in >>> linking security policy for com.mywar_1.0.0.SNAPSHOT -- Inconsistent Module >>> State >>> at >>> com.sun.enterprise.security.SecurityUtil.linkPolicyFile(SecurityUtil.java:335) >>> at >>> com.sun.enterprise.security.SecurityDeployer.linkPolicies(SecurityDeployer.java:279) >>> at >>> com.sun.enterprise.security.SecurityDeployer.access$100(SecurityDeployer.java:81) >>> at >>> com.sun.enterprise.security.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:114) >>>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
    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)]
  6. 0

    Payara 4.1.153で追加された、NamedCacheを試す - CLOVER

    ne.jp | 2 months ago
    org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408: Unsatisfied dependencies for type Cache<String, Integer> with qualifiers @Default at injection point [BackedAnnotatedField] @NamedCache @Inject private org.littlewings.hazelcast.CalcResource.myCache

    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. org.glassfish.deployment.common.DeploymentException

      Aborting, Failed to > start container com.sun.enterprise.web.WebContainer > at > org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) > at > org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186) > 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:1048) > 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()
    2. Grizzly WS
      ProcessorTask.process
      1. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      1 frame