Author: rjung Date: Fri Oct 29 23:34:37 2010 New Revision: 1028944 URL: http://svn.apache.org/viewvc?rev=1028944&view=rev Log: Document jspIdleTimeout.
Modified: tomcat/trunk/conf/web.xml tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/jasper-howto.xml Modified: tomcat/trunk/conf/web.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/web.xml?rev=1028944&r1=1028943&r2=1028944&view=diff ============================================================================== --- tomcat/trunk/conf/web.xml (original) +++ tomcat/trunk/conf/web.xml Fri Oct 29 23:34:37 2010 @@ -193,6 +193,10 @@ <!-- this limit. A value of zero or less indicates --> <!-- no limit. [-1] --> <!-- --> + <!-- jspIdleTimeout The amount of time in seconds a JSP can be --> + <!-- idle before it is unloaded. A value of zero --> + <!-- or less indicates never unload. [-1] --> + <!-- --> <!-- modificationTestInterval --> <!-- Causes a JSP (and its dependent files) to not --> <!-- be checked for modification during the --> Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1028944&r1=1028943&r2=1028944&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Fri Oct 29 23:34:37 2010 @@ -101,6 +101,14 @@ <code>Enum.name()</code> rather than <code>Enum.toString()</code> as required by the EL specification. (markt) </fix> + <fix> + Fix minor thread-safety and performance issues in the implementation + of <code>maxLoadedJsps</code>. (rjung) + </fix> + <add> + Add support for unloading JSPs that have not been requested for a + long time using the new parameter <code>jspIdleTimeout</code>. (rjung) + </add> </changelog> </subsection> <subsection name="Cluster"> Modified: tomcat/trunk/webapps/docs/jasper-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jasper-howto.xml?rev=1028944&r1=1028943&r2=1028944&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/jasper-howto.xml (original) +++ tomcat/trunk/webapps/docs/jasper-howto.xml Fri Oct 29 23:34:37 2010 @@ -163,6 +163,10 @@ least recently used JSPs will be unloade any one time does not exceed this limit. A value of zero or less indicates no limit. Default <code>-1</code></li> +<li><strong>jspIdleTimeout</strong> - The amount of time in seconds a JSP can be +idle before it is unloaded. A value of zero or less indicates never unload. +Default <code>-1</code></li> + <li><strong>modificationTestInterval</strong> - Causes a JSP (and its dependent files) to not be checked for modification during the specified time interval (in seconds) from the last time the JSP was checked for modification. A value of --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org