After Tomcat is installed, tomcat.exe cannot run successfully. What should I do?

Source: Internet
Author: User
Tags sendfile apache tomcat

Log formats are diverse, sometimes the same as below:

The first solution is to modify all the ports in server. XML, because not only port 8080 may be occupied!

When a problem occurs, I modify port 8080. As a result, the two other ports were occupied after some time.

 

11-jul-2014 16:53:16. 703 info [main] org. Apache. Catalina. Core. aprlifecyclelistener. init loaded APR based Apache Tomcat native library 1.1.31 using APR version 1.4.8.
16:53:16. 703 info [main] Org. apache. catalina. core. aprlifecyclelistener. init APR capabilities: ipv6 [True], sendfile [True], accept filters [false], random [True].
11-jul-2014 16:53:17. 243 info [main] org. Apache. Catalina. Core. aprlifecyclelistener. initializessl OpenSSL successfully initialized (OpenSSL 1.0.1h 5 Jun 2014)
11-jul-2014 16:53:17. 323 info [main] org. Apache. Coyote. abstractprotocol. init initializing protocolhandler ["http-apr-8088"]
11-jul-2014 16:53:17. 333 info [main] org. Apache. Coyote. abstractprotocol. init initializing protocolhandler ["ajp-apr-8009"]
11-jul-2014 16:53:17. 333 severe [main] org. Apache. Coyote. abstractprotocol. init failed to initialize end point associated with protocolhandler ["ajp-apr-8009"]
Java. Lang. Exception: Socket bind failed: [730013] ??? Í ???? × ?????? ·?????? ×?
At org.apache.tomcat.util.net. aprendpoint. BIND (aprendpoint. Java: 431)
At org.apache.tomcat.util.net. abstractendpoint. INIT (abstractendpoint. Java: 727)
At org. Apache. Coyote. abstractprotocol. INIT (abstractprotocol. Java: 456)
At org. Apache. Catalina. connector. connector. initinternal (connector. Java: 960)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
At org. Apache. Catalina. Core. standardservice. initinternal (standardservice. Java: 567)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
At org. Apache. Catalina. Core. standardserver. initinternal (standardserver. Java: 834)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 576)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 599)
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. Load (Bootstrap. Java: 310)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 484)

11-jul-2014 16:53:17. 343 severe [main] org. Apache. Catalina. Core. standardservice. initinternal failed to initialize connector [connejp [AJP/1.3-8009]
Org. Apache. Catalina. lifecycleexception: failed to initialize component [connector [AJP/1.3-8009]
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 106)
At org. Apache. Catalina. Core. standardservice. initinternal (standardservice. Java: 567)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
At org. Apache. Catalina. Core. standardserver. initinternal (standardserver. Java: 834)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 576)
At org. Apache. Catalina. startup. Catalina. Load (Catalina. Java: 599)
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. Load (Bootstrap. Java: 310)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 484)
Caused by: org. Apache. Catalina. lifecycleexception: protocol handler initialization failed
At org. Apache. Catalina. connector. connector. initinternal (connector. Java: 962)
At org. Apache. Catalina. util. lifecyclebase. INIT (lifecyclebase. Java: 102)
... 12 more
Caused by: Java. Lang. Exception: Socket bind failed: [730013] ??? Í ???? × ?????? ·?????? ×?
At org.apache.tomcat.util.net. aprendpoint. BIND (aprendpoint. Java: 431)
At org.apache.tomcat.util.net. abstractendpoint. INIT (abstractendpoint. Java: 727)
At org. Apache. Coyote. abstractprotocol. INIT (abstractprotocol. Java: 456)
At org. Apache. Catalina. connector. connector. initinternal (connector. Java: 960)
... 13 more

11-jul-2014 16:53:17. 343 info [main] org. Apache. Catalina. startup. Catalina. Load initialization processed in 882 MS
11-jul-2014 16:53:17. 373 info [main] org. Apache. Catalina. Core. standardservice. startinternal starting service Catalina
11-jul-2014 16:53:17. 373 info [main] org. Apache. Catalina. Core. standardengine. startinternal starting Servlet Engine: Apache Tomcat/8.0.9
11-jul-2014 16:53:17. 383 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ docs
11-jul-2014 16:53:17. 713 info [localhost-startStop-1] org. Apache. Catalina. util. sessionidgenerator. createsecurerandom creation of securerandom instance for session ID generation using [sha1prng] Took [110] milliseconds.
11-jul-2014 16:53:17. 733 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ docs has finished in 350 MS
11-jul-2014 16:53:17. 733 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ host-Manager
11-jul-2014 16:53:17. 773 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ host-manager has finished in 40 MS
11-jul-2014 16:53:17. 773 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ Manager
11-jul-2014 16:53:17. 793 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ manager has finished in 20 MS
11-jul-2014 16:53:17. 793 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ Root
11-jul-2014 16:53:17. 823 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ Root has finished in 30 MS
11-jul-2014 16:53:17. 823 info [main] org. Apache. Coyote. abstractprotocol. Start starting protocolhandler ["http-apr-8088"]
11-jul-2014 16:53:17. 833 info [main] org. Apache. Catalina. startup. Catalina. Start server startup in 489 MS
11-jul-2014 16:53:17. 843 severe [main] org. Apache. Catalina. Core. standardserver. Await standardserver. Await: Create [localhost: 8005]:
Java.net. bindexception: address already in use: jvm_bind
At java.net. dualstackplainsocketimpl. bind0 (native method)
At java.net. dualstackplainsocketimpl. socketbind (unknown source)
At java.net. abstractplainsocketimpl. BIND (unknown source)
At java.net. plainsocketimpl. BIND (unknown source)
At java.net. serversocket. BIND (unknown source)
At java.net. serversocket. <init> (unknown source)
At org. Apache. Catalina. Core. standardserver. Await (standardserver. Java: 419)
At org. Apache. Catalina. startup. Catalina. Await (Catalina. Java: 713)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 659)
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: 351)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 485)

11-jul-2014 16:53:17. 843 info [main] org. Apache. Coyote. abstractprotocol. Pause pausing protocolhandler ["http-apr-8088"]
11-jul-2014 16:53:17. 893 info [main] org. Apache. Coyote. abstractprotocol. Pause pausing protocolhandler ["ajp-apr-8009"]
11-jul-2014 16:53:17. 893 info [main] org. Apache. Catalina. Core. standardservice. stopinternal stopping service Catalina
11-jul-2014 16:53:17. 953 info [main] org. Apache. Coyote. abstractprotocol. Stop stopping protocolhandler ["http-apr-8088"]
11-jul-2014 16:53:18. 003 info [main] org. Apache. Coyote. abstractprotocol. Destroy destroying protocolhandler ["http-apr-8088"]
11-jul-2014 16:53:18. 003 info [main] org. Apache. Coyote. abstractprotocol. Stop stopping protocolhandler ["ajp-apr-8009"]
11-jul-2014 16:53:18. 003 info [main] org. Apache. Coyote. abstractprotocol. Destroy destroying protocolhandler ["ajp-apr-8009"]
11-jul-2014 16:58:43. 332 info [main] org. Apache. Catalina. Core. aprlifecyclelistener. init loaded APR based Apache Tomcat native library 1.1.31 using APR version 1.4.8.
16:58:43. 332 info [main] Org. apache. catalina. core. aprlifecyclelistener. init APR capabilities: ipv6 [True], sendfile [True], accept filters [false], random [True].
11-jul-2014 16:58:43. 932 info [main] org. Apache. Catalina. Core. aprlifecyclelistener. initializessl OpenSSL successfully initialized (OpenSSL 1.0.1h 5 Jun 2014)
11-jul-2014 16:58:44. 032 info [main] org. Apache. Coyote. abstractprotocol. init initializing protocolhandler ["http-apr-8088"]
11-jul-2014 16:58:44. 042 info [main] org. Apache. Coyote. abstractprotocol. init initializing protocolhandler ["ajp-apr-8089"]
11-jul-2014 16:58:44. 042 info [main] org. Apache. Catalina. startup. Catalina. Load initialization processed in 953 MS
11-jul-2014 16:58:44. 072 info [main] org. Apache. Catalina. Core. standardservice. startinternal starting service Catalina
11-jul-2014 16:58:44. 072 info [main] org. Apache. Catalina. Core. standardengine. startinternal starting Servlet Engine: Apache Tomcat/8.0.9
11-jul-2014 16:58:44. 072 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ docs
11-jul-2014 16:58:44. 432 info [localhost-startStop-1] org. Apache. Catalina. util. sessionidgenerator. createsecurerandom creation of securerandom instance for session ID generation using [sha1prng] Took [110] milliseconds.
11-jul-2014 16:58:44. 452 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ docs has finished in 380 MS
11-jul-2014 16:58:44. 452 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ host-Manager
11-jul-2014 16:58:44. 492 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ host-manager has finished in 40 MS
11-jul-2014 16:58:44. 492 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ Manager
11-jul-2014 16:58:44. 512 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ manager has finished in 20 MS
11-jul-2014 16:58:44. 512 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deploying web application Directory D: \ tomcat8.0 \ webapps \ Root
11-jul-2014 16:58:44. 542 info [localhost-startStop-1] org. Apache. Catalina. startup. hostconfig. deploydirectory deployment of Web application Directory D: \ tomcat8.0 \ webapps \ Root has finished in 30 MS
11-jul-2014 16:58:44. 542 info [main] org. Apache. Coyote. abstractprotocol. Start starting protocolhandler ["http-apr-8088"]
11-jul-2014 16:58:44. 562 info [main] org. Apache. Coyote. abstractprotocol. Start starting protocolhandler ["ajp-apr-8089"]
11-jul-2014 16:58:44. 562 info [main] org. Apache. Catalina. startup. Catalina. Start server startup in 517 MS
11-jul-2014 17:07:14. 770 info [thread-4] org. Apache. Coyote. abstractprotocol. Pause pausing protocolhandler ["http-apr-8088"]
11-jul-2014 17:07:14. 830 info [thread-4] org. Apache. Coyote. abstractprotocol. Pause pausing protocolhandler ["ajp-apr-8089"]
11-jul-2014 17:07:14. 880 info [thread-4] org. Apache. Catalina. Core. standardservice. stopinternal stopping service Catalina
11-jul-2014 17:07:14. 920 info [thread-4] org. Apache. Coyote. abstractprotocol. Stop stopping protocolhandler ["http-apr-8088"]
11-jul-2014 17:07:14. 970 info [thread-4] org. Apache. Coyote. abstractprotocol. Stop stopping protocolhandler ["ajp-apr-8089"]

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.