org.apache.catalina.LifecycleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I follow the guide here: https://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory to upgrade Artifactory Pro Standalone Installation, and replacing folder _tomcat/_ But `service artifactory start` doesn't actually boot up the artifactory {code} # service artifactory start Starting Artifactory tomcat as user artifactory... Using CATALINA_BASE: /usr/local/src/artifactory/tomcat Using CATALINA_HOME: /usr/local/src/artifactory/tomcat Using CATALINA_TMPDIR: /usr/local/src/artifactory/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-7-oracle Using CLASSPATH: /usr/local/src/artifactory/tomcat/bin/bootstrap.jar:/usr/local/src/artifactory/tomcat/bin/tomcat-juli.jar Tomcat started. Artifactory Tomcat started in normal mode {code} *catalina.out* log {code} Mar 24, 2015 10:31:20 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '150' did not find a matching property. Mar 24, 2015 10:31:21 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8081"] Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /usr/local/src/artifactory/tomcat/webapps/${artifactory.home}/webapps/artifactory.war inside the host appBase has been specified, and will be ignored Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/local/src/artifactory/tomcat/webapps/artifactory does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5110) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Mar 24, 2015 10:31:21 PM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5295) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor SEVERE: Error deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml has finished in 71 ms Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT has finished in 437 ms Mar 24, 2015 10:31:21 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8081"] {code} {code} Mar 24, 2015 10:43:29 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '150' did not find a matching property. Mar 24, 2015 10:43:29 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8081"] Mar 24, 2015 10:43:29 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 24, 2015 10:43:29 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 Mar 24, 2015 10:43:29 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml has finished in 537 ms Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT has finished in 88 ms Mar 24, 2015 10:43:30 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8081"] {code}
    via by Sam Xiao,
  • I follow the guide here: https://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory to upgrade Artifactory Pro Standalone Installation, and replacing folder _tomcat/_ But `service artifactory start` doesn't actually boot up the artifactory {code} # service artifactory start Starting Artifactory tomcat as user artifactory... Using CATALINA_BASE: /usr/local/src/artifactory/tomcat Using CATALINA_HOME: /usr/local/src/artifactory/tomcat Using CATALINA_TMPDIR: /usr/local/src/artifactory/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-7-oracle Using CLASSPATH: /usr/local/src/artifactory/tomcat/bin/bootstrap.jar:/usr/local/src/artifactory/tomcat/bin/tomcat-juli.jar Tomcat started. Artifactory Tomcat started in normal mode {code} *catalina.out* log {code} Mar 24, 2015 10:31:20 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '150' did not find a matching property. Mar 24, 2015 10:31:21 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8081"] Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /usr/local/src/artifactory/tomcat/webapps/${artifactory.home}/webapps/artifactory.war inside the host appBase has been specified, and will be ignored Mar 24, 2015 10:31:21 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /usr/local/src/artifactory/tomcat/webapps/artifactory does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5110) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Mar 24, 2015 10:31:21 PM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5295) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor SEVERE: Error deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml has finished in 71 ms Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT Mar 24, 2015 10:31:21 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT has finished in 437 ms Mar 24, 2015 10:31:21 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8081"] {code} {code} Mar 24, 2015 10:43:29 PM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '150' did not find a matching property. Mar 24, 2015 10:43:29 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8081"] Mar 24, 2015 10:43:29 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Mar 24, 2015 10:43:29 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 Mar 24, 2015 10:43:29 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deployment of configuration descriptor /usr/local/src/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml has finished in 537 ms Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT Mar 24, 2015 10:43:30 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /usr/local/src/artifactory/tomcat/webapps/ROOT has finished in 88 ms Mar 24, 2015 10:43:30 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8081"] {code}
    via by Sam Xiao,
  • Status 404 issue in Tomcat
    via by colin shuker,
  • Container not reachable from host
    via GitHub by stimon
    ,
    • org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5295) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more

    Users with the same issue

    linxiaolonglinxiaolong
    8 times, last one,
    Victor_ITVictor_IT
    2 times, last one,
    chenjunjunchenjunjun
    6 times, last one,
    treefolktreefolk
    2 times, last one,
    TahirTahir
    1 times, last one,
    6 more bugmates