tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory DbcpDataSourceFactory.java
Date Fri, 10 May 2002 03:08:35 GMT
remm        02/05/09 20:08:35

  Modified:    catalina/src/share/org/apache/naming/factory
                        DbcpDataSourceFactory.java
  Log:
  - Fix cut & paste bug where maxIdle wouldn't be set (instead, maxActive would
    get the maxIdle value).
  - Patch submitted by Michael Smith <msmith at xn.com.au>
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/DbcpDataSourceFactory.java
  
  Index: DbcpDataSourceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/DbcpDataSourceFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DbcpDataSourceFactory.java	26 Dec 2001 01:22:10 -0000	1.4
  +++ DbcpDataSourceFactory.java	10 May 2002 03:08:35 -0000	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/DbcpDataSourceFactory.java,v
1.4 2001/12/26 01:22:10 glenn Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/12/26 01:22:10 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/DbcpDataSourceFactory.java,v
1.5 2002/05/10 03:08:35 remm Exp $
  + * $Revision: 1.5 $
  + * $Date: 2002/05/10 03:08:35 $
    *
    * ====================================================================
    *
  @@ -114,7 +114,7 @@
    * </ul>
    * 
    * @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2001/12/26 01:22:10 $
  + * @version $Revision: 1.5 $ $Date: 2002/05/10 03:08:35 $
    */
   
   public class DbcpDataSourceFactory
  @@ -248,7 +248,7 @@
           }
           try {
               if (maxIdle != null)
  -                connectionPool.setMaxActive(Integer.parseInt(maxIdle));
  +                connectionPool.setMaxIdle(Integer.parseInt(maxIdle));
           } catch (Throwable t) {
               log("Error setting maxIdle", t);
           }
  
  
  

--
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