在Netbeans中运行时停止Tomcat [英] Stop Tomcat when run inside of Netbeans

查看:176
本文介绍了在Netbeans中运行时停止Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用NetBeans运行Apache Tomcat 6.当我的代码中发生故障时,例如NullPointerException,tomcat将失败,并且将不会运行任何其他请求.

I run Apache Tomcat 6 using NetBeans. When there is a failure in my code such as a NullPointerException tomcat fail and will not run any other request.

我的问题是我无法使tomcat停止并且必须重新启动整个Netbeans IDE.

My problem is I cannot get tomcat to stop and I must restart the entire Netbeans IDE.

有什么想法吗?

推荐答案

在Netbeans 6.9.1(Windows)上,您应该在左侧看到服务"选项卡以及项目",文件"之类的其他选项卡"...等.单击服务"选项卡.单击服务器"的"+".带有绿色三角形(播放图标)的所有内容均表示该服务正在运行.右键单击"Apache Tomcat 6.X.XX",然后选择停止".

on Netbeans 6.9.1 (windows), on the left hand side you should see "Services" tab along with the other tabs like "Projects", "Files"... etc. Click on the "Services" tab. Click the "+" of "Servers". Everything that has the green triangle (play icon) means that service is running. Right click on "Apache Tomcat 6.X.XX" and choose "Stop".

这篇关于在Netbeans中运行时停止Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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