org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]

JFrog JIRA | Sam Xiao | 2 years ago
  1. 0

    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}

    JFrog JIRA | 2 years ago | Sam Xiao
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]
  2. 0

    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}

    JFrog JIRA | 2 years ago | Sam Xiao
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]
  3. 0

    solr SEVERE Exception opening zip file. Null pointer exception. Etc.

    GitHub | 2 years ago | chris001
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/solr4]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploy application in Tomcat excluding ROOT

    Stack Overflow | 11 months ago | E Cammarota
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  6. 0

    Status 404 issue in Tomcat [Solved] (Tomcat forum at Coderanch)

    coderanch.com | 5 months ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/JJ]]

  1. treefolk 1 times, last 2 weeks ago
  2. Tahir 1 times, last 2 months ago
  3. kuldeep 8 times, last 2 months ago
  4. linxiaolong 3 times, last 2 weeks ago
  5. linxiaolong 5 times, last 3 months ago
1 more registered users
1 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. org.apache.catalina.LifecycleException

    Error in resourceStart()

    at org.apache.catalina.core.StandardContext.startInternal()
  2. Glassfish Core
    HostConfig$DeployDescriptor.run
    1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5295)
    2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
    7. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861)
    7 frames
  3. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:744)
    5 frames