You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2012/04/28 16:23:40 UTC

svn commit: r1331775 - in /tomcat/tc5.5.x/trunk/container/webapps/docs: changelog.xml jndi-resources-howto.xml

Author: rjung
Date: Sat Apr 28 14:23:39 2012
New Revision: 1331775

URL: http://svn.apache.org/viewvc?rev=1331775&view=rev
Log:
BZ 53158: Fix documented defaults for DBCP.
Patch provided by ph.dezanneau at gmail.com.

Backport of r1331766 from trunk resp.
r1331772 from tc7.0.x and r1331774 from tc6.0.x.

Modified:
    tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
    tomcat/tc5.5.x/trunk/container/webapps/docs/jndi-resources-howto.xml

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml?rev=1331775&r1=1331774&r2=1331775&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/changelog.xml Sat Apr 28 14:23:39 2012
@@ -61,6 +61,10 @@
         <bug>52641</bug>: Remove mentioning of ldap.jar from docs.
         Patch provided by Felix Schumacher. (rjung)
       </fix>
+      <fix>
+        <bug>53158</bug>: Fix documented defaults for DBCP.
+        Patch provided by ph.dezanneau at gmail.com. (rjung)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">

Modified: tomcat/tc5.5.x/trunk/container/webapps/docs/jndi-resources-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/container/webapps/docs/jndi-resources-howto.xml?rev=1331775&r1=1331774&r2=1331775&view=diff
==============================================================================
--- tomcat/tc5.5.x/trunk/container/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/tc5.5.x/trunk/container/webapps/docs/jndi-resources-howto.xml Sat Apr 28 14:23:39 2012
@@ -694,13 +694,13 @@ conn.close();
     <ul>
     <li><strong>timeBetweenEvictionRunsMillis</strong> - The number of
         milliseconds between consecutive runs of the evictor.
-        Default: 30*60*1000 (30 minutes)</li>
+        Default: -1 (disabled)</li>
     <li><strong>numTestsPerEvictionRun</strong> - The number of connections
         that will be checked for idleness by the evitor during each
         run of the evictor. Default: 3</li>
     <li><strong>minEvictableIdleTimeMillis</strong> - The idle time in
         milliseconds after which a connection can be removed from the pool
-        by the evictor. Default: -1 (disabled)</li>
+        by the evictor. Default: 30*60*1000 (30 minutes)</li>
     <li><strong>testWhileIdle</strong> - true or false: whether a connection
         should be validated by the evictor thread using the validation query
         while sitting idle in the pool. Default: false</li>



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