continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r564583 - /maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml
Date Fri, 10 Aug 2007 13:37:33 GMT
Author: evenisse
Date: Fri Aug 10 06:37:29 2007
New Revision: 564583

URL: http://svn.apache.org/viewvc?view=rev&rev=564583
Log:
Add DBCP parameters in JNDI conf

Modified:
    maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml

Modified: maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml?view=diff&rev=564583&r1=564582&r2=564583
==============================================================================
--- maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml (original)
+++ maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml Fri Aug 10 06:37:29
2007
@@ -63,6 +63,37 @@
             <type>javax.sql.DataSource</type>
             <properties>
               <property>
+                <name>factory</name>
+                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+              </property>
+
+              <!-- Maximum number of dB connections in pool. Make sure you
+                   configure your mysqld max_connections large enough to handle
+                   all of your db connections. Set to 0 for no limit.
+                   -->
+              <property>
+                <name>maxActive</name>
+                <value>100</value>
+              </property>
+
+              <!-- Maximum number of idle dB connections to retain in pool.
+                   Set to 0 for no limit.
+                   -->
+              <property>
+                <name>maxIdle</name>
+                <value>30</value>
+              </property>
+
+              <!-- Maximum time to wait for a dB connection to become available
+                   in ms, in this example 10 seconds. An Exception is thrown if
+                   this timeout is exceeded.  Set to -1 to wait indefinitely.
+                   -->
+              <property>
+                <name>maxWait</name>
+                <value>10000</value>
+              </property>
+
+              <property>
                 <name>driverClassName</name>
                 <value>org.apache.derby.jdbc.EmbeddedDriver</value>
               </property>
@@ -84,6 +115,37 @@
             <name>jdbc/continuum</name>
             <type>javax.sql.DataSource</type>
             <properties>
+              <property>
+                <name>factory</name>
+                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
+              </property>
+
+              <!-- Maximum number of dB connections in pool. Make sure you
+                   configure your mysqld max_connections large enough to handle
+                   all of your db connections. Set to 0 for no limit.
+                   -->
+              <property>
+                <name>maxActive</name>
+                <value>100</value>
+              </property>
+
+              <!-- Maximum number of idle dB connections to retain in pool.
+                   Set to 0 for no limit.
+                   -->
+              <property>
+                <name>maxIdle</name>
+                <value>30</value>
+              </property>
+
+              <!-- Maximum time to wait for a dB connection to become available
+                   in ms, in this example 10 seconds. An Exception is thrown if
+                   this timeout is exceeded.  Set to -1 to wait indefinitely.
+                   -->
+              <property>
+                <name>maxWait</name>
+                <value>10000</value>
+              </property>
+
               <property>
                 <name>driverClassName</name>
                 <value>org.apache.derby.jdbc.EmbeddedDriver</value>



Mime
View raw message