tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject cvs commit: jakarta-tomcat/src/doc serverxml.html
Date Thu, 08 Nov 2001 21:43:25 GMT
bojan       01/11/08 13:43:25

  Modified:    src/doc  serverxml.html
  Log:
  Add a note about the minimum of two threads required to shutdown Tomcat through Ajp12
  
  Revision  Changes    Path
  1.11      +11 -0     jakarta-tomcat/src/doc/serverxml.html
  
  Index: serverxml.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/doc/serverxml.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- serverxml.html	2001/11/05 10:07:35	1.10
  +++ serverxml.html	2001/11/08 21:43:24	1.11
  @@ -4,7 +4,7 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   <html>
   <head>
  -  <!-- $Id: serverxml.html,v 1.10 2001/11/05 10:07:35 bojan Exp $ -->
  +  <!-- $Id: serverxml.html,v 1.11 2001/11/08 21:43:24 bojan Exp $ -->
     <!-- Copyright 1999-2001 Apache Software Foundation -->
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
     <link rel="stylesheet" href="style.css">
  @@ -481,6 +481,17 @@
   <pre>
   &lt;Ajp12Connector port=&quot;8007&quot; ajpidFile=&quot;conf/ajp12_2.id&quot;
/&gt;
   </pre>
  +
  +<h4>Additional note:</h4>
  +
  +<p>If using <em>Ajp12Connector</em> to shutdown Tomcat, the minimum of
2
  +threads have to be configured, or the shutdown will not be successful. Default
  +configuration (no <em>maxThreads</em>) configures more then 2 threads and
  +should work fine.</p>
  +
  +<p>You need two threads since one is always supposed to be listening, and the
  +other does the actual shutting down.  Since the shutdown thread tries to
  +unblock the listening thread, it hangs if there isn't anyone listening.</p>
   
   <hr size="5">
   
  
  
  

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


Mime
View raw message