How to kill Tomcat when running it from Eclipse?

后端 未结 5 2085
粉色の甜心
粉色の甜心 2021-01-31 03:25

I am running the Tomcat that gets delivered with your Eclipse download (no, I don\'t want to download and install the entire Tomcat), and sometimes it hangs when stopping or res

5条回答
  •  没有蜡笔的小新
    2021-01-31 03:59

    I use better way to shutdown tomcat when it is not found in task manager.

    1) Download TCPView(only 285kb) from following link.

    http://technet.microsoft.com/en-in/sysinternals/bb897437.aspx

    2) Extract folder and start TCPView application.

    3) Right click on java.exe and select End Process option.

    this would stop your tomcat easily.. This tool is very useful in monitoring port usage.

    NOTE: Running TOMCATPATH/bin/shutdown.bat may not shutdown Tomcat when it contains some demon or unmanaged threads. In such cases TCPView works fine without any issues.

提交回复
热议问题