Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Talk:Jetty/Howto/Configure JNDI Datasource"

(Suggestion to add testOnBorrow and validationQuery to DBCP config parameters.)
 
m (Removed my content on testOnBorrow etc, seems I have edit permissions on the main page after all.)
 
Line 1: Line 1:
Section 2.3 on the DBCP connection pool config would benefit from the inclusion of testOnBorrow and validationQuery attributes:
 
  
<Set name="testOnBorrow">true</Set>
 
<Set name="validationQuery">SELECT 1</Set>
 
 
Without these, I found a deployment left running for a day or so against MySQL on a quiet server encountered errors about connections already being closed.  Re: http://javathings.blogspot.com/2009/04/fix-for-timeout-on-db
 

Latest revision as of 11:28, 15 July 2012

Back to the top