tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <kbo...@als.com>
Subject Re: [Same Behavior]Connections timing out even with validation query??
Date Tue, 22 Jul 2008 17:44:37 GMT
Nice technique ... thanks ... might help to zero in on it.

On Jul 22, 2008, at 12:48 PM, Christopher Schultz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ken,
>
> Ken Bowen wrote:
> | All connections are /supposed/ to be closed when the interaction if
> | finished, but there still could be one slipping through.
>
> I find it useful in development to set the connection pool size to
> exactly 1 connection, and, of course, enable abandoned checking,  
> etc. If
> you have only a single database connection in the pool, you can also
> detect potential deadlocks in your code since your app can only
> (successfully) request a single connection at a time.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiGD3YACgkQ9CaO5/Lv0PB8cgCcCLFr0LO2iwLuLHwg3FGx+Eu9
> XFYAn3UX12OqjlbUJ8SfFu872Ijonu4Y
> =n09o
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message