从Eclipse运行它时如何杀死Tomcat?
我正在运行随Eclipse下载交付的Tomcat(不,我不想下载并安装整个Tomcat),有时它在停止或重新启动时挂起,而我可以找到的唯一方法它的工作正在重新启动我所有的Eclipse。我在Windows下使用它。
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 restarting, and the only way I can find to make it work is restarting all my Eclipse. I am using it under Windows.
有没有办法杀死Tomcat进程(不会出现在任务管理器中)?
Is there any way to kill the Tomcat process (which doesn't appear in the Task Manager)?
在任务管理器中显示为 javaw.exe
。另一种方法是执行 Tomcat / bin / shutdown.bat
。
It appears as javaw.exe
in task manager. An alternative is to execute Tomcat/bin/shutdown.bat
.
关于挂起问题,你确定你的webapp不会产生可能阻止Tomcat关机的非托管线程?
As to the hang problem, are you sure that your webapp isn't spawning unmanaged threads which might be blocking Tomcat's shutdown?