java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.

GitHub | comul | 2 months ago
  1. 0

    [Payara Embedded] Unable to deploy JSF enabled Web app. or Web module

    GitHub | 2 months ago | comul
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
  2. 0

    Liferay 7 Glassfish 4.1 installation - Forums | Liferay

    liferay.com | 7 months ago
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
  3. 0

    My rather complex EAR deploys without any problem on GF 4.0 and GF 3.1.1 but not at all on GF 4.0.1! I am getting the following error message: {code} remote failure: Fehler beim Deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.Li fecycleException: com.google.common.util.concurrent.UncheckedExecutionException: org.jboss.weld.exceptions.IllegalStateException: WELD-001328 Unable to identify the correct BeanManager. The calling class org.jboss.weld.servlet.WeldInitialListener is not placed in bean archive. Weitere Informationen finden Sie unter server.log. Command deploy failed. {code} (Also see attched server.log for more information!) The strange thing is that I am not using neither CDI in common nor WELD in particular at all! The EAR is completely CDI free, moreover it actively switches CDI completely OFF thanks to bean-discovery-mode="none" in beans.xml! *This is a blocker for us as we cannot deploy anymore!* EAR file is closed source and must not get published in JIRA, so if you need it to reproduce, please provide an email address where we can send the file to.

    Java.net JIRA | 3 years ago | mkarg
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.google.common.util.concurrent.UncheckedExecutionException: org.jboss.weld.exceptions.IllegalStateException: WELD-001328 Unable to identify the correct BeanManager. The calling class org.jboss.weld.servlet.WeldInitialListener is not placed in bean archive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Liferay 7 Glassfish 4.1 installation - Forums

    liferay.com | 4 months ago
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSource' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterDataSourceImpl' defined in class path resource [META-INF/counter-infrastructure-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
  6. 0

    My rather complex EAR deploys without any problem on GF 4.0 and GF 3.1.1 but not at all on GF 4.0.1! I am getting the following error message: {code} remote failure: Fehler beim Deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.Li fecycleException: com.google.common.util.concurrent.UncheckedExecutionException: org.jboss.weld.exceptions.IllegalStateException: WELD-001328 Unable to identify the correct BeanManager. The calling class org.jboss.weld.servlet.WeldInitialListener is not placed in bean archive. Weitere Informationen finden Sie unter server.log. Command deploy failed. {code} (Also see attched server.log for more information!) The strange thing is that I am not using neither CDI in common nor WELD in particular at all! The EAR is completely CDI free, moreover it actively switches CDI completely OFF thanks to bean-discovery-mode="none" in beans.xml! *This is a blocker for us as we cannot deploy anymore!* EAR file is closed source and must not get published in JIRA, so if you need it to reproduce, please provide an email address where we can send the file to.

    Java.net JIRA | 3 years ago | mkarg
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.google.common.util.concurrent.UncheckedExecutionException: org.jboss.weld.exceptions.IllegalStateException: WELD-001328 Unable to identify the correct BeanManager. The calling class org.jboss.weld.servlet.WeldInitialListener is not placed in bean archive
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

    ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.

    at org.apache.catalina.core.ContainerBase.addChildInternal()
  2. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1045)
    2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
    3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
    3 frames
  3. Glassfish
    WebApplication.start
    1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
    2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
    3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
    3 frames
  4. Private APIs of Glassfish
    ApplicationInfo.start
    1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
    2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
    3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:353)
    3 frames
  5. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:501)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
    2 frames
  6. Embedded GlassFish Web
    DeployCommand.execute
    1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:487)
    1 frame
  7. Kernel Classes
    CommandRunnerImpl$2$1.run
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
    2 frames
  8. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:360)
    2 frames
  9. Kernel Classes
    CommandRunnerImpl$3.run
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
    3 frames
  10. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:360)
    2 frames
  11. Kernel Classes
    CommandRunnerImpl$ExecutionContext.execute
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
    5 frames
  12. admin-cli
    DeployerImpl.deploy
    1. com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:134)
    1 frame
  13. krmd.sagent
    SAgent.start
    1. krmd.sagent.SAgentManager.deployGateway(SAgentManager.java:62)
    2. krmd.sagent.SAgent.start(SAgent.java:88)
    3. krmd.sagent.SAgent.start(SAgent.java:111)
    3 frames
  14. com.sun.javafx
    PlatformImpl.lambda$null$173
    1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    2. com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    3. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    3 frames
  15. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  16. com.sun.javafx
    PlatformImpl.lambda$runLater$174
    1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    1 frame
  17. com.sun.glass
    GtkApplication.lambda$null$49
    1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    2. com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    3. com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    3 frames
  18. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame