You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/07/29 17:39:56 UTC

svn commit: r980476 - in /tomcat/site/trunk: docs/migration.html xdocs/migration.xml

Author: markt
Date: Thu Jul 29 15:39:56 2010
New Revision: 980476

URL: http://svn.apache.org/viewvc?rev=980476&view=rev
Log:
Add note on dynamic thread pools

Modified:
    tomcat/site/trunk/docs/migration.html
    tomcat/site/trunk/xdocs/migration.xml

Modified: tomcat/site/trunk/docs/migration.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration.html?rev=980476&r1=980475&r2=980476&view=diff
==============================================================================
--- tomcat/site/trunk/docs/migration.html (original)
+++ tomcat/site/trunk/docs/migration.html Thu Jul 29 15:39:56 2010
@@ -3,18 +3,18 @@
 <html>
 <head>
 <title>Apache Tomcat - Migration Guide</title>
-<meta content="Remy Maucherat" name="author" />
-<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
-<link media="print" rel="stylesheet" href="stylesheets/tomcat-printer.css" type="text/css" />
+<meta name="author" content="Remy Maucherat"/>
+<link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet"/>
+<link type="text/css" href="stylesheets/tomcat-printer.css" rel="stylesheet" media="print"/>
 </head>
-<body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
-<table cellspacing="0" width="100%" border="0">
+<body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76">
+<table border="0" width="100%" cellspacing="0">
 <!--PAGE HEADER-->
 <tr>
 <td>
 <!--PROJECT LOGO-->
 <a href="http://tomcat.apache.org/">
-<img border="0" alt="Tomcat Logo" align="left" src="./images/tomcat.gif" />
+<img src="./images/tomcat.gif" align="left" alt="Tomcat Logo" border="0"/>
 </a>
 </td>
 <td>
@@ -25,28 +25,28 @@
 <td>
 <!--APACHE LOGO-->
 <a href="http://www.apache.org/">
-<img border="0" alt="Apache Logo" align="right" src="http://www.apache.org/images/asf-logo.gif" />
+<img src="http://www.apache.org/images/asf-logo.gif" align="right" alt="Apache Logo" border="0"/>
 </a>
 </td>
 </tr>
 </table>
 <div class="searchbox noPrint">
-<form method="get" action="http://www.google.com/search">
-<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
-<input type="text" id="query" name="q" size="25" value="Search the Site" />
-<input type="submit" value="Search Site" name="Search" />
+<form action="http://www.google.com/search" method="get">
+<input value="tomcat.apache.org" name="sitesearch" type="hidden"/>
+<input value="Search the Site" size="25" name="q" id="query" type="text"/>
+<input name="Search" value="Search Site" type="submit"/>
 </form>
 </div>
-<table cellspacing="4" width="100%" border="0">
+<table border="0" width="100%" cellspacing="4">
 <!--HEADER SEPARATOR-->
 <tr>
 <td colspan="2">
-<hr size="1" noshade="" />
+<hr noshade="" size="1"/>
 </td>
 </tr>
 <tr>
 <!--LEFT SIDE NAVIGATION-->
-<td class="noPrint" nowrap="true" valign="top" width="20%">
+<td width="20%" valign="top" nowrap="true" class="noPrint">
 <p>
 <strong>Apache Tomcat</strong>
 </p>
@@ -178,11 +178,11 @@
 </ul>
 </td>
 <!--RIGHT SIDE MAIN BODY-->
-<td id="mainBody" align="left" valign="top" width="80%">
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<td width="80%" valign="top" align="left" id="mainBody">
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#525D76">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Before upgrading">
 <!--()-->
 </a>
@@ -212,14 +212,14 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#525D76">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="5.5.x to 6.0.x">
 <!--()-->
 </a>
@@ -234,10 +234,10 @@ compatibility problems.</p>
 <p>
 <blockquote>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Java 5 required">
 <!--()-->
 </a>
@@ -259,15 +259,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Modified directory structure">
 <!--()-->
 </a>
@@ -295,15 +295,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Modified classloading">
 <!--()-->
 </a>
@@ -328,15 +328,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Logging API package renaming">
 <!--()-->
 </a>
@@ -362,15 +362,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="SSLEnabled attribute on Connector">
 <!--()-->
 </a>
@@ -394,15 +394,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Clustering configuration changes">
 <!--()-->
 </a>
@@ -424,7 +424,41 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
+</td>
+</tr>
+</table>
+
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
+<tr>
+<td bgcolor="#828DA6">
+<font color="#ffffff" face="arial,helvetica,sanserif">
+<a name="Connector thread pools">
+<!--()-->
+</a>
+<a name="Connector_thread_pools">
+<strong>Connector thread pools</strong>
+</a>
+</font>
+</td>
+</tr>
+<tr>
+<td>
+<blockquote>
+
+    <p>The <strong>Connector</strong> thread pools have been simplified. They
+    now grow to the maximum size specified but never shrink. The attributes
+    associated with shrinking the thread pool (e.g. <code>minSpareThreads</code>
+    will be ignored. If you require a thread pool that grows and shrinks with
+    demand you'll need to configure an <strong>Executor</strong> and then
+    configure your <strong>Connector</strong> to use it.</p>
+
+  </blockquote>
+</td>
+</tr>
+<tr>
+<td>
+<br/>
 </td>
 </tr>
 </table>
@@ -435,14 +469,14 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#525D76">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="6.0.x to 7.0.x">
 <!--()-->
 </a>
@@ -457,10 +491,10 @@ compatibility problems.</p>
 <p>
 <blockquote>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Java 6 required">
 <!--()-->
 </a>
@@ -482,15 +516,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Deployment">
 <strong>Deployment</strong>
 </a>
@@ -511,15 +545,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
   
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Manager application">
 <!--()-->
 </a>
@@ -570,15 +604,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Host Manager application">
 <!--()-->
 </a>
@@ -622,15 +656,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Session cookie configuration">
 <!--()-->
 </a>
@@ -669,15 +703,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="Comet">
 <strong>Comet</strong>
 </a>
@@ -699,15 +733,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="XML validation">
 <!--()-->
 </a>
@@ -738,15 +772,15 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
 
-  <table width="100%" cellpadding="2" cellspacing="0" border="0">
+  <table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
 <td bgcolor="#828DA6">
-<font face="arial,helvetica,sanserif" color="#ffffff">
+<font color="#ffffff" face="arial,helvetica,sanserif">
 <a name="System properties">
 <!--()-->
 </a>
@@ -776,7 +810,7 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
@@ -787,7 +821,7 @@ compatibility problems.</p>
 </tr>
 <tr>
 <td>
-<br />
+<br/>
 </td>
 </tr>
 </table>
@@ -796,17 +830,17 @@ compatibility problems.</p>
 <!--FOOTER SEPARATOR-->
 <tr>
 <td colspan="2">
-<hr size="1" noshade="" />
+<hr noshade="" size="1"/>
 </td>
 </tr>
 <!--PAGE FOOTER-->
 <tr>
 <td colspan="2">
 <div align="center">
-<font size="-1" color="#525D76">
+<font color="#525D76" size="-1">
 <em>
         Copyright © 1999-2010, The Apache Software Foundation
-        <br />
+        <br/>
         "Apache", the Apache feather, and the Apache Tomcat logo are
         trademarks of the Apache Software Foundation for our open source
         software.

Modified: tomcat/site/trunk/xdocs/migration.xml
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/migration.xml?rev=980476&r1=980475&r2=980476&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/migration.xml (original)
+++ tomcat/site/trunk/xdocs/migration.xml Thu Jul 29 15:39:56 2010
@@ -80,6 +80,17 @@ compatibility problems.</p>
 
   </subsection>
 
+  <subsection name="Connector thread pools">
+
+    <p>The <strong>Connector</strong> thread pools have been simplified. They
+    now grow to the maximum size specified but never shrink. The attributes
+    associated with shrinking the thread pool (e.g. <code>minSpareThreads</code>
+    will be ignored. If you require a thread pool that grows and shrinks with
+    demand you'll need to configure an <strong>Executor</strong> and then
+    configure your <strong>Connector</strong> to use it.</p>
+
+  </subsection>
+
 </section>
 
 <section name="6.0.x to 7.0.x">



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