title: Stop Tomcat when run inside of Netbeans
body: <p>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. </p>
  
  <p>My problem is I cannot get tomcat to stop and I must restart the entire Netbeans IDE.  </p>
  
  <p>Any Ideas?</p>