从Eclipse运行它时如何杀死Tomcat? [英] How to kill Tomcat when running it from Eclipse?

查看:350
本文介绍了从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?

这篇关于从Eclipse运行它时如何杀死Tomcat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆