users@glassfish.java.net

Re: Tacking connection leaks

From: Shalini <shalini.muthukrishnan_at_oracle.com>
Date: Tue, 12 Jul 2011 10:34:07 +0530

The server.log under gf_install/domains/domain1/logs directory would
have the stack trace of the connection leak. Also to reclaim the leaked
connection, you could set the connection leak reclaim to true.

On Monday 11 July 2011 07:53 PM, Rafael Silva wrote:
> Hi all,
>
> One application deployed on my Glassfish server has been leaking JDBC
> connections and it eventually block the whole application because
> there are no more connections available in the connection pool and
> pool has reached it's limit. To check it I activated connection leak
> tracking by applying a connection leak timeout of 10 secs in the
> connection pool advanced tab. That's all nice, now I Glassfish is
> telling me that there is a connection pool leak in that pool but I
> can't see where is the leak. If Glassfish can detect the leak can't it
> show me which is the method, or at least the class, that requested
> that connection? If there isn't, is there any advice about how to find it?