Tomcat Startup error: Error running tomcat:address localhost:1099 is already in use

Source: Internet
Author: User

Tomcat Startup error: Error running tomcat:address localhost:1099 is already. This is a server where Tomcat did not shut down properly after the last boot or encountered an exception, and some of the threads did not shut down completely. This is where 1099 of the thread is not shut down, so the server does not start properly again, causing the Web project to run. This is obviously 1099 ports have been occupied, the solution is as follows:



Java is actually a thread that is not finished, and can be learned by viewing the process:


Execute command cmd---"Netstat-ano
You can see the PID:


And then through the command: tasklist know is the PID of which name: (actually can be directly based on this PID to find in the Task Manager)


Is that a java.exe process takes up


Then you can go to Task Manager to force him off:



Because I am the problem has been resolved, and then want to reproduce the resolution process, so the task manager will have another java.exe process, ignore it, turn off the corresponding to occupy the port number of the PID process is good


This will allow you to reboot the server.



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.