users@glassfish.java.net

Re: NumConnSuccessfullyMatched/NumConnNotSuccessfullyMatched

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Apr 2009 03:41:20 PDT

Yes. If the connection pool is used by applications that have multiple user credentials, it is necessary that match-connections is turned ON. Connection pool will match the request's credential with the connections
in the pool and return a matched connection for use. In case of new requests with different credentials, unmatched free connections will be automatically purged to provide new connections to satisfy the new
requests.

This attribute need not be set to true if it is known that there is only one credential used by the applications and hence the pool will have homogeneous connections.
[Message sent by forum member 'sm157516' (sm157516)]

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