tomcatnetbeans

Stop Tomcat when run inside of Netbeans


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.

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

Any Ideas?


Solution

  • 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".