Tomcat failed or failed to restart in "Eclpise" eclipse

Source: Internet
Author: User

 

Often encountering such problems in Eclipse, Tomcat fails after reboot and cannot be stopped. The best solution is to kill the process with a DOS command.

For example, the following situation:

1. View the process ID

To view information with Windows netstat:

Netstat-ano | grep 8005  TCP    127.0.0.1:8005         0.0.0.0:0              LISTENING       3740

3740 is the process ID, which is the process ID that occupies the port

Or use the JPS that comes with the JDK to see all the process information:

[Email protected] MINGW64/E/XIANGMU/SBGL (QLQ)$ jps9272 JPS3740 Bootstrap9556 oracleidelaunch

3740 is the process ID, with Bootstrap is the Tomcat process, which is consistent with the process number identified above netstat.

or directly filter, directly isolate the Tomcat process ID:

[Email protected] MINGW64/E/XIANGMU/SBGL (QLQ)$ JPS | grep Bootstrap3740 Bootstrap

2. Kill the process to

[Email protected] MINGW64/E/XIANGMU/SBGL (QLQ)$ taskkill-pid  3740-f

Reference: JPS usage: http://www.cnblogs.com/qlqwjy/p/7928410.html

Tomcat failed or failed to restart in "Eclpise" eclipse

Related Article

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.