This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 534afe9694 Strip script tags which cannot be represented
new 0318dc9ea6 Do not invoke a naming factory setter with an unsupported
parameter type using a null value
new 99ce7849d8 Do not apply JNDI reference metadata as bean properties in
the naming factory
new 640b36cebd Report naming factory property-set failures at warn level
with accurate messages
new 3f460d125e Fail the naming factory with NamingExceptions when the
reference type is unusable
new c27bd98a95 Do not busy-loop when closing the connection pool from an
interrupted thread
new 3f7e90b3d1 Do not hand out connections created during connection pool
closure
new 687d697609 Fix lost and duplicated wake-ups in the pool wait protocol
new c2b1586b02 Report never-connected pooled connections as invalid during
validation
new f8bffa3fc9 Act on rollbackOnReturn and commitOnReturn regardless of
defaultAutoCommit
new 0e8d55b7ab Cache the connection proxy constructor per kind, not once
per pool
new 521fc40eee Run the idle eviction sweep whenever the pool is over
min-idle
new 725dddb2c7 Replace the pool cleaner atomically so no task is orphaned
new 9280097e62 Rethrow message-less borrow failures from getConnectionAsync
new 199d04bb94 Claim pooled connections before maintenance actions on them
new 42bcf9115d Do not leak or resurrect a connection pool when closing a
data source
new 9ed3e3bbde Dispose the connection facade before returning the
connection to the pool
new 9fb15bd4b8 Do not let query reporting replace the exception a
statement method raised
new 99e9dea8e7 Stop query-report eviction from throwing at its caller
new 7b790de1bf Do not restore connection state on top of an abandoned
transaction
new e9bce66ffb Close tracked statements properly and forget closed ones
new 40808811cb Remove the unfinished, dead MultiLockFairBlockingQueue class
new b9ea61c4b0 Fail fast when an XA resource lacks an XA data source
new 3e5e398d22 Share the slow query JMX notifier across a pool's
interceptor instances The SlowQueryReportJmx interceptor is instantiated once
per pooled connection. With notifyPool=false, each instance kept its own
NotificationBroadcasterSupport while all instances registered their MBean under
the same object name derived from the pool name. A JMX client could only
subscribe to the MBean the platform server resolved first, so slow and failed
query notifications raised by every other [...]
new f6de79aeab Drop the static imports from the jdbc-pool testsuite
The 24 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 | 9 +-
.../jdbc/naming/GenericNamingResourcesFactory.java | 107 +++-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 174 ++++--
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 63 ++-
.../jdbc/pool/DisposableConnectionFacade.java | 32 +-
.../jdbc/pool/MultiLockFairBlockingQueue.java | 591 ---------------------
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 5 +-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 9 +-
.../org/apache/tomcat/jdbc/pool/XADataSource.java | 64 +++
.../jdbc/pool/interceptor/AbstractQueryReport.java | 32 +-
.../jdbc/pool/interceptor/ConnectionState.java | 91 +++-
.../jdbc/pool/interceptor/SlowQueryReport.java | 54 +-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 44 +-
.../jdbc/pool/interceptor/StatementFinalizer.java | 199 +++++--
.../tomcat/jdbc/naming/TestNamingFactory.java | 281 +++++++++-
.../tomcat/jdbc/pool/TestAlternateCredentials.java | 44 +-
.../apache/tomcat/jdbc/pool/TestAsyncBorrow.java | 120 ++++-
.../tomcat/jdbc/pool/TestCloseDuringBorrow.java | 131 +++++
.../tomcat/jdbc/pool/TestCloseVsPoolCreation.java | 201 +++++++
.../jdbc/pool/TestConnectionAcquireRelease.java | 81 ++-
.../tomcat/jdbc/pool/TestConnectionSetup.java | 25 +-
.../jdbc/pool/TestDisposableConnectionFacade.java | 261 +++++++++
.../tomcat/jdbc/pool/TestDuplicatePoolCleaner.java | 53 ++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 85 ++-
.../tomcat/jdbc/pool/TestInterruptedPoolClose.java | 114 ++++
.../tomcat/jdbc/pool/TestInterruptedWaiter.java | 33 +-
.../pool/TestJdbcInterceptorConfigParsing.java | 90 ++--
.../apache/tomcat/jdbc/pool/TestPoolEviction.java | 67 ++-
.../tomcat/jdbc/pool/TestPoolProperties.java | 20 +-
.../apache/tomcat/jdbc/pool/TestProxyContract.java | 56 +-
.../pool/TestProxyKindAfterDataSourceSwap.java | 152 ++++++
.../org/apache/tomcat/jdbc/pool/TestPurge.java | 38 +-
.../tomcat/jdbc/pool/TestReleaseWaiters.java | 200 +++++++
.../tomcat/jdbc/pool/TestShouldForceReconnect.java | 25 +-
.../tomcat/jdbc/pool/TestStatementExecution.java | 88 ++-
.../pool/TestTerminateTransactionOnReturn.java | 137 +++++
.../apache/tomcat/jdbc/pool/TestTransaction.java | 44 +-
.../jdbc/pool/TestUnconnectedPlaceholder.java | 132 +++++
.../jdbc/pool/TestUnlockedMaintenanceSweep.java | 123 +++++
.../apache/tomcat/jdbc/pool/TestValidation.java | 53 +-
.../apache/tomcat/jdbc/pool/TestXaConnection.java | 144 ++++-
.../pool/interceptor/TestInterceptorLifecycle.java | 26 +-
.../interceptor/TestInterceptorResetOrder.java | 31 +-
.../pool/interceptor/TestInterceptorSemantics.java | 112 +++-
.../TestPendingTransactionAcrossBorrowers.java | 173 ++++++
.../interceptor/TestQueryReportExtraction.java | 76 +++
.../jdbc/pool/interceptor/TestSessionState.java | 36 +-
.../pool/interceptor/TestSlowQueryComparator.java | 21 +-
.../pool/interceptor/TestSlowQueryEviction.java | 184 +++++++
.../interceptor/TestSlowQueryJmxNotifications.java | 92 ++++
.../pool/interceptor/TestStatementCacheReuse.java | 85 ++-
.../pool/interceptor/TestStatementFinalizer.java | 199 +++++++
.../pool/interceptor/TestStatementLifecycle.java | 40 +-
.../tomcat/jdbc/pool/jmx/TestJmxMonitor.java | 61 +--
res/spotbugs/filter-false-positives.xml | 6 -
webapps/docs/changelog.xml | 106 ++++
56 files changed, 4144 insertions(+), 1376 deletions(-)
delete mode 100644
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCloseDuringBorrow.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCloseVsPoolCreation.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDisposableConnectionFacade.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDuplicatePoolCleaner.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestInterruptedPoolClose.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestProxyKindAfterDataSourceSwap.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestReleaseWaiters.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestTerminateTransactionOnReturn.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestUnconnectedPlaceholder.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestUnlockedMaintenanceSweep.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestPendingTransactionAcrossBorrowers.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryReportExtraction.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryEviction.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryJmxNotifications.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementFinalizer.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]