java.lang.IllegalStateException: Unable to instantiate container.

Stack Overflow | Sameer | 6 months ago
  1. 0

    WELD-001201: Error loading beans.xml + Tomcat 7.0.59

    Stack Overflow | 2 years ago
    org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml jndi:/localhost/WEB-INF/beans.xml
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    3 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.io.FileNotFoundException

      jndi:/localhost/WEB-INF/tiles.xml

      at org.apache.naming.resources.DirContextURLConnection.getInputStream()
    2. Web Container Naming Utilities
      DirContextURLConnection.getInputStream
      1. org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:384)
      1 frame
    3. Tiles
      UrlDefinitionsFactory.init
      1. org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
      2. org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
      2 frames
    4. Tiles - Core Library
      TilesContainerFactory.createContainer
      1. org.apache.tiles.impl.BasicTilesContainer.initializeDefinitionsFactory(BasicTilesContainer.java:406)
      2. org.apache.tiles.impl.BasicTilesContainer.init(BasicTilesContainer.java:130)
      3. org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesContainerFactory.java:232)
      4. org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesContainerFactory.java:198)
      5. org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContainerFactory.java:163)
      5 frames
    5. Tiles - Servlet support
      TilesListener.createContainer
      1. org.apache.tiles.web.startup.TilesListener.createContainer(TilesListener.java:90)
      1 frame
    6. Struts 2 Tiles Plugin
      StrutsTilesListener.createContainer
      1. org.apache.struts2.tiles.StrutsTilesListener.createContainer(StrutsTilesListener.java:70)
      1 frame
    7. Tiles - Servlet support
      TilesListener.contextInitialized
      1. org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener.java:57)
      1 frame
    8. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
      6 frames
    9. org.wso2.carbon
      WebappDeployer.deploy
      1. org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:344)
      2. org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:252)
      3. org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:314)
      4. org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWarWebappDeployment(TomcatGenericWebappsDeployer.java:212)
      5. org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:179)
      6. org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:144)
      7. org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:224)
      8. org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:114)
      9. org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42)
      9 frames
    10. org.apache.axis2
      SchedulerTask.run
      1. org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
      2. org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
      3. org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
      4. org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
      5. org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
      6. org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
      7. org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
      8. org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
      8 frames
    11. org.wso2.carbon
      CarbonDeploymentSchedulerTask.run
      1. org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
      2. org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
      2 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames