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 a820a71a35 Strip script tags which cannot be represented
new 4b17b7aca7 Do not invoke a naming factory setter with an unsupported
parameter type using a null value
new daf188c45f Do not apply JNDI reference metadata as bean properties in
the naming factory
new a627cfd75a Report naming factory property-set failures at warn level
with accurate messages
new 453b3462a1 Fail the naming factory with NamingExceptions when the
reference type is unusable
new 09e1890295 Do not busy-loop when closing the connection pool from an
interrupted thread
new 8b1c8ba97c Do not hand out connections created during connection pool
closure
new 9628ebaa60 Fix lost and duplicated wake-ups in the pool wait protocol
new 45b86b3486 Report never-connected pooled connections as invalid during
validation
new 1b11c7ce3c Act on rollbackOnReturn and commitOnReturn regardless of
defaultAutoCommit
new 4b5ebf7828 Cache the connection proxy constructor per kind, not once
per pool
new df26548f26 Run the idle eviction sweep whenever the pool is over
min-idle
new 2aa30b85df Replace the pool cleaner atomically so no task is orphaned
new 3a22f300aa Rethrow message-less borrow failures from getConnectionAsync
new c11db3f7ce Claim pooled connections before maintenance actions on them
new fc28c2748a Do not leak or resurrect a connection pool when closing a
data source
new a02c571232 Dispose the connection facade before returning the
connection to the pool
new ff8cfb7779 Do not let query reporting replace the exception a
statement method raised
new 97d9f66529 Stop query-report eviction from throwing at its caller
new bec768a63b Do not restore connection state on top of an abandoned
transaction
new 2847a79724 Close tracked statements properly and forget closed ones
new 6b1020ca6f Remove the unfinished, dead MultiLockFairBlockingQueue class
new ea7bf3519d Fail fast when an XA resource lacks an XA data source
new 046bc17999 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 6da3bd5b08 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]