Thanks :]
I've set testonborrow, validationquery and validationinterval - and it did
the trick. After ESX migration or just disconnect and reconnect of the
network card, the application recovers by itself.

Thanks
Hila


2011/6/6 Christopher Schultz <ch...@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> הילה,
>
> On 6/1/2011 5:14 PM, הילה wrote:
> > when using the string
> > testonborrow="true"
> > do I need to use it alone?
>
> It is not effective alone. In fact, testOnBorrow="true" is the default,
> oddly enough.
>
> http://commons.apache.org/dbcp/configuration.html
>
> > can it be used alone? or do I have to put also
> > the validationInterval string (or any other string)?
>
> As per the documentation:
>
> "
> NOTE - for a true value to have any effect, the validationQuery
> parameter must be set to a non-null string.
> "
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3s23oACgkQ9CaO5/Lv0PCcVgCgjxvBdBIsdXW8BIyQk6MVEiNE
> 1xAAn2sqI2dOBfA/sLE8LCxryjzs9FFB
> =2mpx
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to