This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from ae34e37285 Various HTTP upgrade improvements
new 9fc30e70bc Fail XA-family calls on a non-XA pool diagnosably, not as
NPE
new 2614246a32 Honour the java.sql.Wrapper contract on pooled connection
handles
new f414f58670 Treat a throwing custom Validator as a failed validation
new 0355cc31a0 Document that QueryTimeoutInterceptor must precede
StatementCache
new 964a3b7821 Reset the abandoned timer on failed operations in the JDBC
pool
new f00cf73d59 Reset the abandoned timer while a result set is being
streamed in the JDBC pool
new bf56e649cf Fix immortal prepare-only entries inverting slow query LRU
eviction
new ec78f68290 Release SlowQueryReport stats only when last same-named
pool closes
new 0c4abc373f Pin SlowQueryReportJmx MBean survival across connection
eviction
new fac78d5289 Keep same-named pools' JMX registration until the last pool
closes
new 4554740309 Retry slow query JMX registration when the MBeanServer
refuses it
new d00c485d81 Expose the SlowQueryReportJmx JMX surface its metadata
declares
new ea390fb491 Bind a reused cached statement to the borrower it is handed
to
new dcdf6a6585 Bind cached statements to the connection they were prepared
on
new d13da6c3a3 Report the statement cache size as a value, not a shared
counter
new 1c5ddd7b9c Answer Object methods on the statement decorator's proxies
new 48740bca87 Document the borrow-scoped connection binding of the
decorator
new ad013da237 Send pool JMX notifications with a serializable source
new c42a217bd0 Start the pool cleaner when the suspect timeout is set over
JMX
new a6c0555074 Deliver pool JMX notifications off the pool threads
new 5a85cd6477 Declare the pool notification types on the pool MBean
interface
new ded18600a2 Return the object name from JmxUtil only when registration
succeeded
new e9b43b8b24 Import order
The 23 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
modules/jdbc-pool/doc/jdbc-pool.xml | 14 +
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 8 +-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 19 +-
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 68 ++-
.../org/apache/tomcat/jdbc/pool/Validator.java | 20 +-
.../pool/interceptor/QueryTimeoutInterceptor.java | 13 +
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 232 ++++++++-
.../jdbc/pool/interceptor/SlowQueryReport.java | 181 ++++++-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 162 ++++++-
.../pool/interceptor/SlowQueryReportJmxMBean.java | 76 ++-
.../jdbc/pool/interceptor/StatementCache.java | 85 +++-
.../jdbc/pool/interceptor/StatementCacheMBean.java | 14 +-
.../interceptor/StatementDecoratorInterceptor.java | 92 +++-
.../jdbc/pool/interceptor/mbeans-descriptors.xml | 6 +-
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 169 +++++--
.../tomcat/jdbc/pool/jmx/ConnectionPoolMBean.java | 65 +++
.../org/apache/tomcat/jdbc/pool/jmx/JmxUtil.java | 17 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 21 +
.../pool/TestThrowingDisconnectedInterceptor.java | 13 -
.../tomcat/jdbc/pool/TestThrowingValidator.java | 164 +++++++
.../tomcat/jdbc/pool/TestWrapperContract.java | 144 ++++++
.../tomcat/jdbc/pool/TestXaBranchDispatch.java | 220 +++++++++
.../TestQueryTimeoutWithStatementCache.java | 118 +++++
.../pool/interceptor/TestResetAbandonedTimer.java | 208 ++++++++
.../TestResetAbandonedTimerStreaming.java | 328 +++++++++++++
.../pool/interceptor/TestSlowQueryEviction.java | 97 ++++
.../interceptor/TestSlowQueryJmxMBeanSurface.java | 223 +++++++++
.../interceptor/TestSlowQueryJmxNotifications.java | 533 +++++++++++++++++++++
.../TestSlowQueryReportDuplicatePoolNames.java | 133 +++++
.../TestStatementCacheJmxCacheSize.java | 201 ++++++++
.../interceptor/TestStatementCacheRacingClose.java | 175 +++++++
.../interceptor/TestStatementCacheReconnect.java | 260 ++++++++++
.../pool/interceptor/TestStatementCacheReuse.java | 106 +++-
.../TestStatementCacheStaleEntryResurrection.java | 138 ++++++
.../TestStatementDecoratorIdentity.java | 243 ++++++++++
.../jdbc/pool/jmx/TestJmxNotificationDelivery.java | 281 +++++++++++
.../jdbc/pool/jmx/TestJmxNotificationSource.java | 262 ++++++++++
.../pool/jmx/TestJmxNotificationTypeContract.java | 287 +++++++++++
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 368 ++++++++++++++
.../pool/jmx/TestSuspectTimeoutPoolCleaner.java | 152 ++++++
webapps/docs/changelog.xml | 72 +++
41 files changed, 5858 insertions(+), 130 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingValidator.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestWrapperContract.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestXaBranchDispatch.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryTimeoutWithStatementCache.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestResetAbandonedTimer.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestResetAbandonedTimerStreaming.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryJmxMBeanSurface.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryReportDuplicatePoolNames.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheJmxCacheSize.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheRacingClose.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheReconnect.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheStaleEntryResurrection.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementDecoratorIdentity.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestJmxNotificationDelivery.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestJmxNotificationSource.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestJmxNotificationTypeContract.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestJmxRegistration.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestSuspectTimeoutPoolCleaner.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]