This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from aed89a8446 Various HTTP upgrade improvements
new 21824f7d93 Fail XA-family calls on a non-XA pool diagnosably, not as
NPE
new 8298b681c2 Honour the java.sql.Wrapper contract on pooled connection
handles
new 8e06a803c9 Treat a throwing custom Validator as a failed validation
new 2aa684a892 Document that QueryTimeoutInterceptor must precede
StatementCache
new a474e1a74c Reset the abandoned timer on failed operations in the JDBC
pool
new acbed351a2 Reset the abandoned timer while a result set is being
streamed in the JDBC pool
new 09cd65483a Fix immortal prepare-only entries inverting slow query LRU
eviction
new 0cd0533402 Release SlowQueryReport stats only when last same-named
pool closes
new c3e05843b3 Pin SlowQueryReportJmx MBean survival across connection
eviction
new 24d4847bc0 Keep same-named pools' JMX registration until the last pool
closes
new 1a09ae8f78 Retry slow query JMX registration when the MBeanServer
refuses it
new fc72f7750b Expose the SlowQueryReportJmx JMX surface its metadata
declares
new addc5b7b7b Bind a reused cached statement to the borrower it is handed
to
new aefc79f8ed Bind cached statements to the connection they were prepared
on
new 57c1dce221 Report the statement cache size as a value, not a shared
counter
new a037670ff7 Answer Object methods on the statement decorator's proxies
new f4130dedc6 Document the borrow-scoped connection binding of the
decorator
new 4665c78057 Send pool JMX notifications with a serializable source
new b6ef3ec913 Start the pool cleaner when the suspect timeout is set over
JMX
new d29ea415fd Deliver pool JMX notifications off the pool threads
new bb3c743618 Declare the pool notification types on the pool MBean
interface
new 6d4c63d584 Return the object name from JmxUtil only when registration
succeeded
new a0070ac964 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]