tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Losing connection to db with many users
Date Wed, 23 Jul 2008 15:27:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Silvio,

Silvio Rainoldi wrote:
| I think it's not this the problem... Connection is managed by
Hibernate and
| I close the connection in all pages...

What about if an exception is thrown? Are you careful to call
Connection.close() in a finally block? If not, you have a connection leak.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiHTc8ACgkQ9CaO5/Lv0PCohgCgghctoP2/N8+bwcbqgoiVLg0p
0UMAnjJp+vHbfF4811RNNhwm0WcoDgHS
=/Tmy
-----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


Mime
View raw message