Org.apache.catalina.LifecycleException:Failed to start component

Source: Internet
Author: User
Tags addchild apache tomcat netbeans

1. Error description

Using catalina_base: "D:\NetBeans\apache-tomcat-8.0.12" Using Catalina_home: "D:\NetBeans\apache-tomcat-8.0.12"        Using Catalina_tmpdir: "D:\NetBeans\apache-tomcat-8.0.12\temp" Using Jre_home: "D:\Java\jdk1.7.0_67" using CLASSPATH: "D:\netbeans\apache-tomcat-8.0.12\bin\bootstrap.jar;d:\netbeans\apache-tomcat-8.0.12\bin\tomcat-juli.jar" 25- JAN-2015 19:08:33.046 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded APR based Apache Tomcat Native Library 1.1.31 using APR version 1.4.8.25-jan-2015 19:08:33.062 INFO [main] Org.apache.catalina.core.AprLifecycleListener.init APR Capabilities:ipv6 [true], sendfile [true], accept filters [ FALSE], random [true].25-jan-2015 19:08:34.107 INFO [main] Org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.1h 5 June 25-JAN-2015 19:08:34.388 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing Protocolhandler [" http-apr-8080 "]25-jan-2015 19:08:34.404 INFO [maIn] org.apache.coyote.AbstractProtocol.init Initializing protocolhandler ["ajp-apr-8009"]25-jan-2015 19:08:34.419 info [main] org.apache.catalina.startup.Catalina.load initialization processed in 2151 ms25-jan-2015 19:08:34.482 INFO [ Main] org.apache.catalina.core.StandardService.startInternal starting service catalina25-jan-2015 19:08:34.482 INFO [ Main] org.apache.catalina.core.StandardEngine.startInternal starting Servlet Engine:apache tomcat/8.0.1225-jan-2015 19:08:34.513 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDescriptor deploying Configuration Descriptor D:\NetBeans\apache-tomcat-8.0.12\conf\Catalina\localhost\Tree.xml25-Jan-2015 19:08:34.591 WARNING [localhost-startstop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [ Setcontextpropertiesrule]{context} Setting Property ' Antijarlocking ' to ' true ' didn't not find a matching property.25-jan-20 19:08:34.669 SEVERE [localhost-startstop-1] Org.apache.catalina.core.ContainerBase.addChildInTernal ContainerBase.addChild:start:org.apache.catalina.LifecycleException:Failed to start component [ Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/tree]]at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:724) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:700) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:714) at Org.apache.catalina.startup.HostConfig.deployDescriptor (hostconfig.java:581) at Org.apache.catalina.startup.hostconfig$deploydescriptor.run (hostconfig.java:1686) 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:745) caused by:org.apache.cAtalina. lifecycleexception:failed to start component [[Email protected]]at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154) at Org.apache.catalina.core.StandardContext.resourcesStart (standardcontext.java:4854) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:4983) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) ... Ten morecaused by:java.lang.IllegalArgumentException:The main resource set specified [D:\NetBeans\workspaces\Tree\ Build\web] is not a validat org.apache.catalina.webresources.StandardRoot.startInternal (standardroot.java:665) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) ... more25-jan-2015 19:08:34.669 SEVERE [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDescriptor Error Deploying Configuration Descriptor D:\NetBeans\ Apache-tomcat-8.0.12\conf\catalina\localhost\tree.xml Java.lang.IllegalStateException:ContainerBase.addChild: Start:org.apache.catalina. lifecycleexception:failed to start component [Standardengine[catalina]. Standardhost[localhost]. Standardcontext[/tree]]at org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:727) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:700) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:714) at Org.apache.catalina.startup.HostConfig.deployDescriptor (hostconfig.java:581) at Org.apache.catalina.startup.hostconfig$deploydescriptor.run (hostconfig.java:1686) 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:745) 25-jan-2015 19:08:34.669 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor D:\Netbeans\apache-tomcat-8.0.12\conf\catalina\localhost\tree.xml have finished in 156 ms25-jan-2015 19:08:34.669 INFO [ LOCALHOST-STARTSTOP-1] org.apache.catalina.startup.HostConfig.deployDirectory deploying Web application directory D : \netbeans\apache-tomcat-8.0.12\webapps\docs25-jan-2015 19:08:35.324 INFO [localhost-startstop-1] Org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID Generation using [Sha1prng] took [milliseconds.25-jan-2015] 19:08:35.371 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deployment of Web application directory D:\NetBeans\ Apache-tomcat-8.0.12\webapps\docs have finished in 702 ms25-jan-2015 19:08:35.371 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory deploying Web application directory D:\NetBeans\ apache-tomcat-8.0.12\webapps\examples25-jan-2015 19:08:36.307 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig. deploydirectory Deployment of Web application directory D:\NetBeans\apache-tomcat-8.0.12\webapps\examples has Finished in 936 ms25-jan-2015 19:08:36.307 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory deploying Web application directory D:\NetBeans\ apache-tomcat-8.0.12\webapps\host-manager25-jan-2015 19:08:36.385 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deployment of Web application directory D:\NetBeans\ Apache-tomcat-8.0.12\webapps\host-manager have finished in ms25-jan-2015 19:08:36.385 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory deploying Web application directory D:\NetBeans\ apache-tomcat-8.0.12\webapps\manager25-jan-2015 19:08:36.432 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deployment of Web application directory D:\NetBeans\ Apache-tomcat-8.0.12\webapps\manager have finished in ms25-jan-2015 19:08:36.432 INFO [LocalhOST-STARTSTOP-1] org.apache.catalina.startup.HostConfig.deployDirectory deploying Web application directory D:\ netbeans\apache-tomcat-8.0.12\webapps\root25-jan-2015 19:08:36.463 INFO [localhost-startstop-1] Org.apache.catalina.startup.HostConfig.deployDirectory Deployment of Web application directory D:\NetBeans\ Apache-tomcat-8.0.12\webapps\root have finished in ms25-jan-2015 19:08:36.478 INFO [main] Org.apache.coyote.AbstractProtocol.start starting Protocolhandler ["http-apr-8080"]25-jan-2015 19:08:36.510 INFO [ Main] Org.apache.coyote.AbstractProtocol.start starting Protocolhandler ["ajp-apr-8009"]25-jan-2015 19:08:36.510 info [main] org.apache.catalina.startup.Catalina.start Server startup in 2096 ms25-jan-2015 19:08:37.492 INFO [ HTTP-APR-8080-EXEC-3] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration Descriptor D : \netbeans\apache-tomcat-8.0.12\conf\catalina\localhost\hbfm.xml25-jan-2015 19:08:37.508 WARNING [ Http-apr-8080-exec-3] Org.apache.catalina.stArtup. Setcontextpropertiesrule.begin [Setcontextpropertiesrule]{context} Setting Property ' Antijarlocking ' to ' true ' do not ' Find a matching property.25-jan-2015 19:08:37.570 INFO [http-apr-8080-exec-3] Org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor D:\NetBeans\ Apache-tomcat-8.0.12\conf\catalina\localhost\hbfm.xml have finished in ms25-jan-2015 19:08:37.570 INFO [ Http-apr-8080-exec-2] Org.apache.catalina.util.LifecycleBase.start the Start () method was called on component [ Standardengine[catalina]. Standardhost[localhost]. STANDARDCONTEXT[/HBFM]] After start () had already been called. The second call would be ignored.25-jan-2015 19:09:23.790 INFO [http-apr-8080-exec-9] Org.apache.catalina.startup.HostConfig.undeploy undeploying context [/tree]

2. Cause of error


3. Solutions

Org.apache.catalina.LifecycleException:Failed to start component

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.