tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From הילה <hilavalen...@gmail.com>
Subject Re: Application crash after Migrate to different ESX
Date Mon, 06 Jun 2011 13:56:22 GMT
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 <chris@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message