-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
|> From: Scott McClanahan [mailto:[EMAIL PROTECTED]
|> Subject: Re: Database connections grow after redeploy
|
| As far as the continuing data base connections, I can only speculate
| that the prior instances of the webapp are still active, thereby
| preventing cleanup of their resources.

I agree. Scott: are you able to run your application through a tool that
allows you to observe the heap and object graphs? Many profilers will
allow you to do this. You could look for instances of the connection
pool and see what is holding onto them. It's unusual for an application
to hold references to the pool, but not completely impossible.

More likely is that one or more application-level objects has retained a
reference to a specific Connection object, which, of course, retains
references back to the connection pool that created it. I would check
any ServletContextListener classes you have, and then a generic search
for putting things into the ServletContext, since that is one of the
only places that applications typically store long-lived objects.

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

iEYEARECAAYFAkfZUDAACgkQ9CaO5/Lv0PBwCwCfbz4bORVnNboqnMWZu6GQClbA
CNAAn2BIaoZChNHbsks7/tLdK75S2A3X
=4Ssq
-----END PGP SIGNATURE-----

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

Reply via email to