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 5ebcc78c0c Strip script tags which cannot be represented
new 1d765cccf8 Do not invoke a naming factory setter with an unsupported
parameter type using a null value
new c913a85ee0 Do not apply JNDI reference metadata as bean properties in
the naming factory
new 850b7353f2 Report naming factory property-set failures at warn level
with accurate messages
new 2562d67e8c Fail the naming factory with NamingExceptions when the
reference type is unusable
new 47439886f7 Do not busy-loop when closing the connection pool from an
interrupted thread
new c881224bae Do not hand out connections created during connection pool
closure
new 77a831aa26 Fix lost and duplicated wake-ups in the pool wait protocol
new 167f481aa3 Report never-connected pooled connections as invalid during
validation
new a76bc66c53 Act on rollbackOnReturn and commitOnReturn regardless of
defaultAutoCommit
new fa6df782c4 Cache the connection proxy constructor per kind, not once
per pool
new 92e7718a86 Run the idle eviction sweep whenever the pool is over
min-idle
new a7905e0ab6 Replace the pool cleaner atomically so no task is orphaned
new 309330fc74 Rethrow message-less borrow failures from getConnectionAsync
new 1a381e7789 Claim pooled connections before maintenance actions on them
new a28ef10711 Do not leak or resurrect a connection pool when closing a
data source
new 60eade7681 Dispose the connection facade before returning the
connection to the pool
new e55b182d95 Do not let query reporting replace the exception a
statement method raised
new e69bbf2323 Stop query-report eviction from throwing at its caller
new 247f4ca621 Do not restore connection state on top of an abandoned
transaction
new cbad748985 Close tracked statements properly and forget closed ones
new d4c857f9d2 Remove the unfinished, dead MultiLockFairBlockingQueue class
new f9ed585145 Fail fast when an XA resource lacks an XA data source
new fbe316b368 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 b9025fc55d 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]