Problem solving for Tomcat startup failure

Source: Internet
Author: User

When you use Tomcat, you often encounter startup failure issues:

Workaround:

1. Check the configuration of the environment variables, JDK configuration

2. Check if the port is occupied.

The second method is described below:

Open the DOS window and enter the following command:

NETSTAT-ABN | | findstr "8080"

A: Show all connections and listening ports

B: Shows the executable program involved in creating each connection or listening port

N: Displayed in digital form


As you can see in the last column, the PID number of the process is displayed.

Then open the Task Manager, find the PID corresponding to the process, it will be forced to end.

Note: If a column of PID numbers is not displayed in Task Manager, click the menu bar to view the options, select Add columns, and tick the show process number to see it.


This article is from the "wheat Field" blog, please be sure to keep this source http://xuehanlee.blog.51cto.com/8817835/1641035

Problem solving for Tomcat startup failure

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.