This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 1a987fac02 Strip script tags which cannot be represented
new 6bc6f69060 Do not invoke a naming factory setter with an unsupported
parameter type using a null value
new 82d3d0161e Do not apply JNDI reference metadata as bean properties in
the naming factory
new 01df2b0a91 Report naming factory property-set failures at warn level
with accurate messages
new a14f643ee7 Fail the naming factory with NamingExceptions when the
reference type is unusable
new 208f0e537a Do not busy-loop when closing the connection pool from an
interrupted thread
new 5fb897a06f Do not hand out connections created during connection pool
closure
new c886c8837a Fix lost and duplicated wake-ups in the pool wait protocol
new c4274f6603 Report never-connected pooled connections as invalid during
validation
new 6f463a41a7 Act on rollbackOnReturn and commitOnReturn regardless of
defaultAutoCommit
new 297e95d06a Cache the connection proxy constructor per kind, not once
per pool
new bffff867ae Run the idle eviction sweep whenever the pool is over
min-idle
new d40813b41a Replace the pool cleaner atomically so no task is orphaned
new e3af63bbd3 Rethrow message-less borrow failures from getConnectionAsync
new ce91caee68 Claim pooled connections before maintenance actions on them
new 3bf9411bc1 Do not leak or resurrect a connection pool when closing a
data source
new cba5264f9f Dispose the connection facade before returning the
connection to the pool
new 406fcf3389 Do not let query reporting replace the exception a
statement method raised
new e8dc60bcd5 Stop query-report eviction from throwing at its caller
new 3707cdd0da Do not restore connection state on top of an abandoned
transaction
new 13337d940c Close tracked statements properly and forget closed ones
new 94ef727c02 Remove the unfinished, dead MultiLockFairBlockingQueue class
new 88c54ce730 Fail fast when an XA resource lacks an XA data source
new cef17d34be 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 2e6e4300bf Drop the static imports from the jdbc-pool testsuite
new d5718e2ed6 Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 25 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/TESTING-PLAN.md | 9 +-
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 ++++
57 files changed, 4148 insertions(+), 1381 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]