users@glassfish.java.net

Re: JDBC Connection Pooling does not correctly close ...

From: <forums_at_java.net>
Date: Tue, 5 Jul 2011 09:19:56 -0500 (CDT)

You could verify if there are any statement/connection leaks by setting the
statement-leak-timeout/connection-leak-timeout to a positive non zero value
and observing the server.log. Glassfish does not close statements/connections
with the default pool values. The connections that are closed from the
application are just put back to the connection pool for subsequent requests
from the app. Also, there are options to reclaim the leaked
connections/statements by setting the
connection-leak-reclaim/statement-leak-reclaim to true.


--
[Message sent by forum member 'sm157516']
View Post: http://forums.java.net/node/816670