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 2016/08/02 07:26:01 UTC
[Bug 59923] New: The default value of validationInterval attribute
is too long.
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: dev@tomcat.apache.org
Reporter: t.bessho0331@gmail.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 59923] The default value of validationInterval attribute is too
long.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59923
--- Comment #1 from Keiichi Fujino <kf...@apache.org> ---
That's for sure.
I plan to reduce the default value of validationInterval.
Probably about 3000 millseconds(that is 10% value existing).
I am going to commit this tomorrow if there is no objections.
--
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 59923] The default value of validationInterval attribute is too
long.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59923
Keiichi Fujino <kf...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Keiichi Fujino <kf...@apache.org> ---
The fix will be in :
- 9.0.x for 9.0.0.M10 onwards
- 8.5.x for 8.5.5 onwards
- 8.0.x for 8.0.37 onwards
- 7.0.x for 7.0.71 onwards
--
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