users@glassfish.java.net

Re: jdbc-connection-pool settings

From: <glassfish_at_javadesktop.org>
Date: Fri, 26 Sep 2008 02:05:59 PDT

This is a bug with the AssocWithThreadResourcePool. Whenever a connection is got, the numConnUsed variable need to be incremented which is not done. Since a decrement is done for every connection closed without an increment, negative values are observed for this variable consistently.

Sometimes, the numConnUsed's negative value could be equal to the number of times the same connection is reused by the thread before it is destroyed, since the connection is associated with the thread.

This has been fixed as part of the issue 5129 : https://glassfish.dev.java.net/issues/show_bug.cgi?id=5129.

Thanks,
Shalini.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=301776