java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener

Oracle Community | rcbandit | 5 years ago
  1. 0

    Cannot use CDI into WAB on Glassfish 3.1.2

    Stack Overflow | 5 years ago | user1285928
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener
  2. 0

    Cannot use CDI into WAB

    Oracle Community | 5 years ago | rcbandit
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener
  3. 0

    [#GLASSFISH-15225] [OSGi] CDI beans not accessible in web applications

    java.net | 1 month ago
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GlassFish Related Items on Java.net

    rssing.com | 11 months ago
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: Servlet web service endpoint '' failure
  6. 0

    Error ocurred during deployment JSF-Spring app

    Stack Overflow | 4 years ago | user1626766
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
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: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener

    at org.apache.catalina.core.ContainerBase.addChildInternal()
  2. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
    2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
    3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
    3 frames
  3. Glassfish
    WebApplication.start
    1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
    2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
    3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
    3 frames
  4. Private APIs of Glassfish
    ApplicationInfo.start
    1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
    2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
    3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
    3 frames
  5. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    2 frames
  6. Embedded GlassFish Web
    JavaEEExtender$HybridBundleTrackerCustomizer$1.call
    1. org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
    2. org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
    3. org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
    4. org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
    5. org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
    6. org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
    7. org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
    8. org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    5. java.lang.Thread.run(Thread.java:722)
    5 frames