You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fu...@apache.org on 2006/01/10 02:22:00 UTC

svn commit: r367453 - in /tomcat/site/trunk: docs/faq/misc.html docs/faq/printer/misc.html xdocs-faq/misc.xml

Author: funkman
Date: Mon Jan  9 17:21:53 2006
New Revision: 367453

URL: http://svn.apache.org/viewcvs?rev=367453&view=rev
Log:
added shutdown and nondaemon threads


Modified:
    tomcat/site/trunk/docs/faq/misc.html
    tomcat/site/trunk/docs/faq/printer/misc.html
    tomcat/site/trunk/xdocs-faq/misc.xml

Modified: tomcat/site/trunk/docs/faq/misc.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/faq/misc.html?rev=367453&r1=367452&r2=367453&view=diff
==============================================================================
--- tomcat/site/trunk/docs/faq/misc.html (original)
+++ tomcat/site/trunk/docs/faq/misc.html Mon Jan  9 17:21:53 2006
@@ -169,6 +169,11 @@
         I'm getting java.lang.ThreadDeath exceptions when reloading my webapp.
       </a>
     </li>
+    <li>
+      <a href="#stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+    </li>
   </ul>
 </p>
 
@@ -765,6 +770,19 @@
   <div style="padding-left : 20px;">
     See <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=26372">Bugzilla discussion of this</a>.
   </div><br>
+
+
+  <b style="font-size: larger">
+      <a name="stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+  </b>
+  <div style="padding-left : 20px;">
+    Most likely, a non-daemon thread is running. JVM's do not shutdown until there are
+    0 non-daemon threads. You will need to perform a thread dump [<tt>kill -3 pid</tt> for Unix or
+    <tt>CTRL+Break</tt> for Windows] to determine the code which started the thread.
+  </div><br>
+
 </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><tr><td align="center" colspan="2"><!--Google Search Form: see Bugzilla 35788--><form action="http://www.google.com/search" name="searchForm" method="GET"><input value="UTF-8" name="ie" type="hidden"><input value="UTF-8" name="oe" type="hidden"><table bgcolor="#FFFFFF"><tr><td><a href="http://www.google.com/"><img align="absmiddle" alt="Google" border="0" src="http://www.google.com/logos/Logo_40wht.gif"></a></td><td><input value="" maxlength="255" size="25" name="q" type="text"><input value="http://jakarta.apache.org/tomcat/faq" name="domains" type="hidden"><input value="http://jakarta.apache.org/tomcat/faq" name="sitesearch" type="hidden"><input value="Google Search" name="btnG" type="submit"><br>
                                 Search the Tomcat FAQ
 			      </td></tr></table></form></td></tr><tr><td colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>

Modified: tomcat/site/trunk/docs/faq/printer/misc.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/faq/printer/misc.html?rev=367453&r1=367452&r2=367453&view=diff
==============================================================================
--- tomcat/site/trunk/docs/faq/printer/misc.html (original)
+++ tomcat/site/trunk/docs/faq/printer/misc.html Mon Jan  9 17:21:53 2006
@@ -168,6 +168,11 @@
         I'm getting java.lang.ThreadDeath exceptions when reloading my webapp.
       </a>
     </li>
+    <li>
+      <a href="#stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+    </li>
   </ul>
 </p>
 
@@ -764,6 +769,19 @@
   <div style="padding-left : 20px;">
     See <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=26372">Bugzilla discussion of this</a>.
   </div><br>
+
+
+  <b style="font-size: larger">
+      <a name="stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+  </b>
+  <div style="padding-left : 20px;">
+    Most likely, a non-daemon thread is running. JVM's do not shutdown until there are
+    0 non-daemon threads. You will need to perform a thread dump [<tt>kill -3 pid</tt> for Unix or
+    <tt>CTRL+Break</tt> for Windows] to determine the code which started the thread.
+  </div><br>
+
 </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade=""></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
         Copyright &copy; 1999-2005, Apache Software Foundation
         </em></font></div></td></tr></table></body></html>

Modified: tomcat/site/trunk/xdocs-faq/misc.xml
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs-faq/misc.xml?rev=367453&r1=367452&r2=367453&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs-faq/misc.xml (original)
+++ tomcat/site/trunk/xdocs-faq/misc.xml Mon Jan  9 17:21:53 2006
@@ -182,6 +182,11 @@
         I'm getting java.lang.ThreadDeath exceptions when reloading my webapp.
       </a>
     </li>
+    <li>
+      <a href="#stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+    </li>
   </ul>
 </p>
 
@@ -781,8 +786,20 @@
   <answer>
     See <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=26372">Bugzilla discussion of this</a>.
   </answer>
-</section>
 
+
+  <question>
+      <a name="stop">
+        Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
+      </a>
+  </question>
+  <answer>
+    Most likely, a non-daemon thread is running. JVM's do not shutdown until there are
+    0 non-daemon threads. You will need to perform a thread dump [<tt>kill -3 pid</tt> for Unix or
+    <tt>CTRL+Break</tt> for Windows] to determine the code which started the thread.
+  </answer>
+
+</section>
 
 </body>
 </document>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org