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 03073e1612 Review "Avoid StringIndexOutOfBoundsException on an empty
..."
new 695c33c36a Fix initialization and interceptor failure cleanup in the
pool
new 1fa02e8d17 Clean up ConnectionPool comments and javadoc
new 1418f53742 Refuse a second DataSource JMX registration
new bf2ff77bf2 Close the fresh pool when publication fails
new b8dd0d9fea Reject a negative login timeout
new 7ee0f9b8a7 Retry a failed XA/CPDS handle close
new ae02c44927 Mask credentials in driver connect failure logs
new 5f44c2dae5 Harden PoolProperties credential handling
new 820c0578a9 Clarify PoolProperties snapshot and interceptor reuse docs
new 6d581324e1 Stop exposing the internal pooled connection through Wrapper
new 44bf3522f5 Fix statistics store ownership on pool name reuse and
release
new 0ff1c65fe5 Handle a failed slow-query JMX composite type once
new 8a347e42a7 Do not hand out a cache entry that lost the removal race
new fb84355f96 Publish StatementCache state safely across threads
new c7f108fb5b Clarify PoolConfiguration defaults and data source backing
new 06709381f0 Clarify ResetAbandonedTimer MBean release points
new 232afd85f0 Clarify the result-set proxy's own methods
new 47b6f50de6 Clarify StatementFacade handle sealing
new a53d96d6f3 Clarify Validator error handling
new 023cdabc58 Fix checkstyle issues in jdbc-pool tests
new 1c50974ca4 Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 21 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:
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 129 +++++-----
.../org/apache/tomcat/jdbc/pool/DataSource.java | 164 ++++---------
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 199 +++++-----------
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 14 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 181 +++++---------
.../apache/tomcat/jdbc/pool/PooledConnection.java | 159 ++++---------
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 199 +++-------------
.../apache/tomcat/jdbc/pool/StatementFacade.java | 45 ++--
.../org/apache/tomcat/jdbc/pool/Validator.java | 5 +-
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 68 ++----
.../jdbc/pool/interceptor/SlowQueryReport.java | 143 ++++-------
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 132 ++++-------
.../jdbc/pool/interceptor/StatementCache.java | 75 +++---
.../interceptor/StatementDecoratorInterceptor.java | 7 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 7 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 10 +
.../TestDataSourceProxyPublicationCleanup.java | 73 ++++++
.../jdbc/pool/TestDriverConnectDiagnostics.java | 62 +++++
.../jdbc/pool/TestIdleValidationHeadOfLine.java | 4 +-
.../pool/TestJdbcInterceptorConfigParsing.java | 19 ++
.../tomcat/jdbc/pool/TestLoginTimeoutMapping.java | 15 ++
.../pool/TestMBeanDelegationWhenDisconnected.java | 2 +-
.../TestMalformedInterceptorConfiguration.java | 110 +++++++++
.../jdbc/pool/TestPoolInitializationCleanup.java | 123 ++++++++++
.../tomcat/jdbc/pool/TestPoolProperties.java | 40 ++++
.../jdbc/pool/TestPooledConnectionHandleLeak.java | 264 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestTestAllIdleClaim.java | 10 +-
.../pool/TestThrowingDisconnectedInterceptor.java | 6 +-
.../pool/TestThrowingDriverOnClaimedPaths.java | 4 +-
.../jdbc/pool/TestThrowingResetInterceptor.java | 6 +-
.../apache/tomcat/jdbc/pool/TestValidation.java | 2 +-
.../tomcat/jdbc/pool/TestWrapperContract.java | 54 ++---
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 6 +-
.../TestResetAbandonedTimerMBeanIdle.java | 2 +-
.../interceptor/TestSlowQueryJmxMBeanSurface.java | 72 ++++--
.../TestSlowQueryReportAbandonedPool.java | 21 +-
.../interceptor/TestSlowQueryReportPoolNames.java | 33 +++
.../TestStatementCacheCloseAfterDisposal.java | 2 +-
.../TestStatementCacheInterceptorOrder.java | 2 +-
.../TestStatementCacheLostRemovalRace.java | 132 +++++++++++
.../TestStatementCachePurgeCloseFailure.java | 4 +-
.../interceptor/TestStatementCacheRacingClose.java | 2 +-
.../interceptor/TestStatementCacheRacingPark.java | 4 +-
.../interceptor/TestStatementCacheReconnect.java | 6 +-
.../TestStatementCacheStaleEntryResurrection.java | 5 +-
.../pool/interceptor/TestStatementFinalizer.java | 2 +-
.../jmx/TestDataSourceRegistrationVsClose.java | 2 +-
.../pool/jmx/TestDataSourceReregistration.java | 66 +++---
48 files changed, 1511 insertions(+), 1181 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceProxyPublicationCleanup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestMalformedInterceptorConfiguration.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPoolInitializationCleanup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPooledConnectionHandleLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheLostRemovalRace.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]