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