You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/11/23 21:41:12 UTC
svn commit: r348555 -
/cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf
Author: vgritsenko
Date: Wed Nov 23 12:41:07 2005
New Revision: 348555
URL: http://svn.apache.org/viewcvs?rev=348555&view=rev
Log:
Add a link to the documentation, and add timeout parameter
preventing infinite wait if DB is down or pool is exhausted.
Modified:
cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf
Modified: cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf
URL: http://svn.apache.org/viewcvs/cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf?rev=348555&r1=348554&r2=348555&view=diff
==============================================================================
--- cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf (original)
+++ cocoon/blocks/databases/trunk/WEB-INF/xconf/cocoon-databases.xconf Wed Nov 23 12:41:07 2005
@@ -32,26 +32,30 @@
in the hdslqb block used for Cocoon sample
<datasources>
+ <!- -
+ - See Excalibur documentation for details
+ - http://excalibur.apache.org/apidocs/org/apache/avalon/excalibur/datasource/ResourceLimitingJdbcDataSource.html
+ - ->
<jdbc logger="core.datasources.personnel" name="personnel">
<!- -
- If you have an Oracle database, and are using the the
- pool-controller below, you should add the attribute
- "oradb" and set it to true.
-
- <pool-controller min="5" max="10" oradb="true"/>
-
- That way the test to see if the server has disconnected
- the JdbcConnection will function properly.
- - ->
- <pool-controller max="10" min="5"/>
+ - If you have an Oracle database, and are using the the
+ - pool-controller below, you should add the attribute
+ - "oradb" and set it to true.
+ -
+ - <pool-controller min="5" max="10" oradb="true"/>
+ -
+ - That way the test to see if the server has disconnected
+ - the JdbcConnection will function properly.
+ - ->
+ <pool-controller max="10" min="5" timeout="30000"/>
<!- -
- If you need to ensure an autocommit is set to true or
- false, then create the "auto-commit" element below.
-
- <auto-commit>false</auto-commit>
-
- The default is true.
- - ->
+ - If you need to ensure an autocommit is set to true or
+ - false, then create the "auto-commit" element below.
+ -
+ - <auto-commit>false</auto-commit>
+ -
+ - The default is true.
+ - ->
<dburl>jdbc:hsqldb:hsql://localhost:9002</dburl>
<user>sa</user>
<password></password>