Org. Apache. Catalina. lifecycleexception

Source: Internet
Author: User

This error has been depressing for a long time. At the beginning, I went online and found a lot of problems. I thought it was because I was using the latest version of Tomcat, after reading the xml configuration, we can see that the servlet URL-pattern configuration is less than "/". After adding the servlet, the configuration starts successfully!

 

June 24 5:41:23 org. Apache. Catalina. Core. containerbase startinternal
Severe: A child container failed during start
Java. util. Concurrent. executionexception: org. Apache. Catalina. lifecycleexception: failed to start component [standardengine [Catalina]. standardhost [localhost]
At java. util. Concurrent. futuretask $ sync. innerget (unknown source)
At java. util. Concurrent. futuretask. Get (unknown source)
At org. Apache. Catalina. Core. containerbase. startinternal (containerbase. Java: 1142)
At org. Apache. Catalina. Core. standardengine. startinternal (standardengine. Java: 302)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
At org. Apache. Catalina. Core. standardservice. startinternal (standardservice. Java: 443)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
At org. Apache. Catalina. Core. standardserver. startinternal (standardserver. Java: 732)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 675)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 322)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 451)
Caused by: org. Apache. Catalina. lifecycleexception: failed to start component [standardengine [Catalina]. standardhost [localhost]
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 154)
At org. Apache. Catalina. Core. containerbase $ startchild. Call (containerbase. Java: 1595)
At org. Apache. Catalina. Core. containerbase $ startchild. Call (containerbase. Java: 1585)
At java. util. Concurrent. futuretask $ sync. innerrun (unknown source)
At java. util. Concurrent. futuretask. Run (unknown source)
At java. util. Concurrent. threadpoolexecutor. runworker (unknown source)
At java. util. Concurrent. threadpoolexecutor $ worker. Run (unknown source)
At java. Lang. thread. Run (unknown source)
Caused by: org. Apache. Catalina. lifecycleexception: A child container failed during start
At org. Apache. Catalina. Core. containerbase. startinternal (containerbase. Java: 1150)
At org. Apache. Catalina. Core. standardhost. startinternal (standardhost. Java: 785)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
... 7 more

June 24 5:41:23 org. Apache. Catalina. startup. Catalina start
Severe: Catalina. Start:
Org. Apache. Catalina. lifecycleexception: failed to start component [standardserver [8005]
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 154)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 675)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 322)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 451)
Caused by: org. Apache. Catalina. lifecycleexception: failed to start component [standardservice [Catalina]
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 154)
At org. Apache. Catalina. Core. standardserver. startinternal (standardserver. Java: 732)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
... 7 more
Caused by: org. Apache. Catalina. lifecycleexception: failed to start component [standardengine [Catalina]
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 154)
At org. Apache. Catalina. Core. standardservice. startinternal (standardservice. Java: 443)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
... 9 more
Caused by: org. Apache. Catalina. lifecycleexception: A child container failed during start
At org. Apache. Catalina. Core. containerbase. startinternal (containerbase. Java: 1150)
At org. Apache. Catalina. Core. standardengine. startinternal (standardengine. Java: 302)
At org. Apache. Catalina. util. lifecyclebase. Start (lifecyclebase. Java: 150)
... 11 more

June 24 5:41:23 org. Apache. Catalina. startup. Catalina start
Information: server startup in 1157 MS

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.