You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/07/16 03:50:18 UTC

DO NOT REPLY [Bug 10852] New: - Patch: Add Connection Pooling to JNDIRealm

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10852>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10852

Patch: Add Connection Pooling to JNDIRealm

           Summary: Patch: Add Connection Pooling to JNDIRealm
           Product: Tomcat 4
           Version: 4.1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: funkman@joedog.org


Attached (soon) will be a patch which add connection pooling to JNDIRealm. The
pool  used is from jakarta-commons/pool. The number of connections and amount of
time for eviction of pool items are configurable. The javadocs have been updated
too to reflect my additions. No new functionality has been introduced.

The down side is testing for good connections. There is none. But bad
connectinos are removed by waiting for "bad" things to happening - then
remembering the connection later to be closed.

The pool factory is implmented as an inner class.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>