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 2012/11/30 14:08:35 UTC

[Bug 54227] New: maxAge should be checked on borrow

https://issues.apache.org/bugzilla/show_bug.cgi?id=54227

            Bug ID: 54227
           Summary: maxAge should be checked on borrow
           Product: Tomcat Modules
           Version: unspecified
          Hardware: All
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: dev@tomcat.apache.org
          Reporter: mikael.thorsson@schibsted.se
    Classification: Unclassified

The pool doesn't look at the maxAge setting when you borrow a connection, only
when you return one. That's no good, since it lets you borrow (possibly stale)
connections that are much older than maxAge, rendering the feature useless in
times of low activity in the pool.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54227] maxAge should be checked on borrow

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54227

Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Filip Hanik <fh...@apache.org> ---
Fixed in r1616594

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54227] maxAge should be checked on borrow

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54227

Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Filip Hanik <fh...@apache.org> ---
current fix does not run initSQL or testOnConnect

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54227] maxAge should be checked on borrow

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54227

Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Filip Hanik <fh...@apache.org> ---
Fixed in r1616760

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org