Martin Kalén wrote:

Stijn de Witt wrote:

Could you review these settings for the evictor thread solution? Do you think these settings are ok?

validationQuery="select 1"
minEvictableIdleTimeMillis="60000"
timeBetweenEvictionRunsMillis="120000"
numTestsPerEvictionRun="10"
testWhileIdle="true"
testOnBorrow="false"
testOnReturn="false"

Could I combine these with autoReconnect="true"? Would that be useful?
Which of the two options would you use?


This looks like a good setup to me! Personally, I would recommend you
to set testOnBorrow="true" and leave the autoReconnect URL paramater
out of the equation.


Thanks for all the info Martin, I will do as you say, leave autoReconnect=true out, use an evictor thread and set testOnBorrow="true".
I will let you know how it worked out.


Greetings,

-Stijn



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to