Discussion:
[Bug 56970] New: MaxActive vs. MaxTotal for commons-dbcp and tomcat-jdbc-pool in tomcat 8
b***@apache.org
2014-09-11 20:50:26 UTC
Permalink
https://issues.apache.org/bugzilla/show_bug.cgi?id=56970

Bug ID: 56970
Summary: MaxActive vs. MaxTotal for commons-dbcp and
tomcat-jdbc-pool in tomcat 8
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: ***@tomcat.apache.org
Reporter: ***@cerner.com

http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling

Documents: The maxActive configuration option has been renamed to maxTotal

http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html

Documents: (int) The maximum number of active connections that can be allocated
from this pool at the same time. The default value is 100

There is no mention of maxTotal, and observation (via JMX) appears as though
the default is 8 , not 100.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@apache.org
2014-09-11 21:00:20 UTC
Permalink
https://issues.apache.org/bugzilla/show_bug.cgi?id=56970

Mark Thomas <***@apache.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Documentation |jdbc-pool
Version|trunk |unspecified
Product|Tomcat 8 |Tomcat Modules
Target Milestone|---- |---
--
You are receiving this mail because:
You are the assignee for the bug.
b***@apache.org
2014-09-12 11:45:07 UTC
Permalink
https://issues.apache.org/bugzilla/show_bug.cgi?id=56970
Post by b***@apache.org
http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
Documents: The maxActive configuration option has been renamed to maxTotal
The above documentation talks about DBCP pool.
Post by b***@apache.org
http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html
The above documentation page is about JDBC pool.


The "Common Attributes" table on JDBC pool page can be improved. It talks about
comparing the tomcat-jdbc pool with commons-dbcp, but Tomcat 8 is bundled with
commons-dbcp2.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...