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 2010/05/10 20:32:10 UTC
DO NOT REPLY [Bug 49269] New: Shouldn't see maxIdle > maxActive
message with default props
https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
Summary: Shouldn't see maxIdle > maxActive message with default
props
Product: Tomcat 7
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Modules: jdbc-pool
AssignedTo: dev@tomcat.apache.org
ReportedBy: mpassell@grovehillsoftware.com
In PoolProperties, the default value for maxIdle is Integer.MAX_VALUE and the
default for maxActive is 100. This results in a warning message being logged
and the value for maxIdle set to match maxActive on lines 393/394 of
ConnectionPool. The default for maxIdle should match that of maxActive.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 49269] Shouldn't see maxIdle > maxActive message
with default props
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Modules: jdbc-pool |jdbc-pool
Version|trunk |unspecified
Product|Tomcat 7 |Tomcat Modules
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 49269] Shouldn't see maxIdle > maxActive message
with default props
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
--- Comment #1 from Matt Passell <mp...@grovehillsoftware.com> 2010-05-10 15:05:13 EDT ---
Created an attachment (id=25424)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25424)
default value for maxIdle matches maxActive
Here's a patch. If there are any problems applying it, it just involves
changing line 50 of PoolProperties.java to:
protected int maxIdle = maxActive;
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 49269] Shouldn't see maxIdle > maxActive message
with default props
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-05-11 04:03:11 EDT ---
Thanks for the patch. It has been applied to trunk.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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