https://bz.apache.org/bugzilla/show_bug.cgi?id=59923

            Bug ID: 59923
           Summary: The default value of validationInterval attribute is
                    too long.
           Product: Tomcat Modules
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: [email protected]
          Reporter: [email protected]

The validationInterval attribute is 30 seconds by default.
In case of DB reboots, trigger some problems.
For example, the following events will be considered.

1. The connection is validated.
2. DB reboots.
3. getConnection() within 30 seconds.
4. The connection isn't validated by testOnBorrow.
5. Get the invalid connection.

And worse, the default value of fairQueue is true.
As a result, invalid connection is continued to use.

Therefore, I think the default value should be more short or "0(disable)".

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to