On 15 Oct 2012, at 19:01, Christopher Schultz
<[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> g. rgar,
>
> On 10/14/12 6:00 PM, g. rgar wrote:
>> maybe this is related also :
>> http://bugs.mysql.com/bug.php?id=65909
>>
>> If true then a workaround must be made available
>
> There are two other possibilities:
>
> 1. You webapp leaks connections
>
> While it is possible, your connection pool should be complaining about
> that. Have you enabled removeAbandoned and logAbandoned for your
> connections? I highly recommend it -- especially in production.
>
> 2. The DataSource is leaking connections on reload
>
> I think this is unlikely to be the case, as Tomcat is lazy about
> DataSource-creation: when you reload your webapp, it actually uses the
> existing DataSource that was created for the first instance of your
> webapp. Actually, unless you intentionally grab-and-shutdown the
> DataSource in a ServletContextListener's destroy() method, the
> DataSource will not be shut-down on undeploy/reload/etc.

3. App is not really being shutdown, so pool is not closed.


p


>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iEYEARECAAYFAlB8ThEACgkQ9CaO5/Lv0PDQIwCgr+apiGpwSA8QgUyFI875VWdS
> NSYAoJuUBSVrotUmFJluG8BfAS/VDi8h
> =dxRM
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to