You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/03/15 15:30:32 UTC
svn commit: r157542 - lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl
Author: andreas
Date: Tue Mar 15 06:30:31 2005
New Revision: 157542
URL: http://svn.apache.org/viewcvs?view=rev&rev=157542
Log:
scheduler: use custom keep-alive statement because HSQL cannot parse 'SELECT 1'
Modified:
lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl
Modified: lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl?view=diff&r1=157541&r2=157542
==============================================================================
--- lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl (original)
+++ lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl Tue Mar 15 06:30:31 2005
@@ -303,7 +303,10 @@
<xsl:template match="datasources">
<xsl:copy>
<jdbc logger="core.datasources.lenya.scheduler" name="LenyaScheduler">
- <pool-controller max="10" min="5"/>
+ <pool-controller max="10" min="5">
+ <!-- use custom keep-alive query because HSQL does not accept 'SELECT 1' -->
+ <keep-alive>SELECT 1 FROM QRTZ_LOCKS</keep-alive>
+ </pool-controller>
<dburl>jdbc:hsqldb:hsql://localhost:9002</dburl>
<user>sa</user>
<password/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org