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 6d4f3c2e3b Review "Validate the server handshake response in the ...
(#1114)"
new cba83c025d Track slow query statistics by pool name only
new 3c71d459f1 Make generic naming setter selection deterministic
new 411f74e90d Do not log configured property values at TRACE
new cb1bc300e2 Trim redundant ClassLoaderUtil comments
new babbe9deb1 Release a connection when its creation fails with an Error
new 1e3217582f Correct negative idle counts at pool creation
new 3eca36a56d Fix quote escaping in the cleaner rearm message
new bb443cfa99 Clarify ConnectionPool queue and parameter docs
new b5767a13df Run the connection MBean sweep outside the DataSource
monitor
new 81014166b3 Treat a blank connectionProperties as unset
new eebd472264 Clarify DataSourceFactory contracts and drop redundant docs
new b4fc5b4dbc Mask inline credentials on the DataSource bean surface
new 08c80c35be Reject setJmxEnabled after the pool is created
new cb56dc35d4 Correct PoolConfiguration name and minIdle contracts
new 7496cef44e Do not print the live dataSource object in the
configuration dump
new 2f00dfd3c9 Return a copy of the configured interceptor array
new d5ed0124c0 Restore the served session when a credential reconnect
fails with an Error
new 898ef232dd Close XA and CPDS handles when the logical connection fails
with an Error
new 6dc3be20c5 Treat a non-fatal Error as a failed transaction termination
new 7a3c7ade41 Stop resetTimer stamps as soon as an abort starts
new ace530ca60 Use the base class key for anonymous timer MBeans
new edbbfcf24d Do not book queries into a released statistics store
new 48ba2a96ba Make the lost-store warning atomic
new 57ca9f8931 Document QueryStats sentinels and protect the composite
schema
new 8bd93b9ab1 Report a malformed JMX name once per pool
new 8a40d22138 Answer no JMX state once a statistics store is released
new 6f9ae8d646 Withdraw a statement parked while the cache purge runs
new cfbd41b3d2 Keep purging cached statements after one close fails with
an Error
new 8ebd0741a6 Do not pin abandoned pools from the statement cache registry
new 4a4bbefc32 Create the cache counter for a late StatementCache
definition
new afee4c0bc7 Retire a statement whose recycle reset fails with an Error
new 45ad183bd6 Sanitize SQL newlines in StatementCache log messages
new 04146ef0f5 Keep draining tracked statements after one close fails with
an Error
new 45af335a6c Keep a statement whose borrow-time retry close fails
new 98340fba0e Warn about credential write-back on the pool MBean
new 6a0ca81779 Qualify the checkIdle minIdle floor contract
new 45e03ac321 Retry refused JMX unregistrations on later calls
new 16c1626b23 Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 38 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:
.../jdbc/naming/GenericNamingResourcesFactory.java | 276 ++++++++++----------
.../apache/tomcat/jdbc/pool/ClassLoaderUtil.java | 49 +---
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 49 +++-
.../org/apache/tomcat/jdbc/pool/DataSource.java | 98 ++++---
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 165 ++----------
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 44 +++-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 24 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 34 ++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 185 ++++++++-----
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 18 +-
.../jdbc/pool/interceptor/SlowQueryReport.java | 286 ++++++++-------------
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 53 ++--
.../pool/interceptor/SlowQueryReportJmxMBean.java | 27 +-
.../jdbc/pool/interceptor/StatementCache.java | 145 +++++++++--
.../jdbc/pool/interceptor/StatementFinalizer.java | 34 ++-
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 33 ++-
.../tomcat/jdbc/pool/jmx/ConnectionPoolMBean.java | 9 +-
.../org/apache/tomcat/jdbc/pool/jmx/JmxUtil.java | 61 ++++-
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 14 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 8 +-
.../TestDataSourceFactoryNoOpPropertyWarnings.java | 18 ++
.../tomcat/jdbc/naming/TestNamingFactory.java | 93 +++++++
.../tomcat/jdbc/pool/TestAbortEndsTheBorrow.java | 46 ++++
.../pool/TestConnectionPoolDataSourceLeak.java | 31 ++-
.../tomcat/jdbc/pool/TestPoolProperties.java | 98 +++----
.../jdbc/pool/TestPoolSizeSetterValidation.java | 16 ++
.../jdbc/pool/TestThrowingBuiltInValidation.java | 15 +-
.../pool/TestThrowingDriverOnClaimedPaths.java | 154 +++++++++++
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 33 ++-
.../pool/interceptor/TestInterceptorLifecycle.java | 65 +++++
.../TestResetAbandonedTimerMBeanIdle.java | 34 +++
.../pool/interceptor/TestSlowQueryEviction.java | 18 ++
.../TestSlowQueryJmxChainCloseRelease.java | 31 ++-
.../interceptor/TestSlowQueryJmxNotifications.java | 223 ++++++++++------
.../TestSlowQueryJmxSlowQueriesCDRace.java | 10 +-
.../TestSlowQueryReportDeadSessionWarning.java | 41 +++
...ames.java => TestSlowQueryReportPoolNames.java} | 92 +++----
...estSlowQueryReportSlowLogAfterChainRelease.java | 25 ++
.../TestStatementCacheAbandonedPool.java | 71 +++++
.../TestStatementCacheJmxCacheSize.java | 31 +++
.../TestStatementCachePurgeCloseFailure.java | 189 ++++++++++++++
.../interceptor/TestStatementCacheRacingPark.java | 81 ++++++
.../TestStatementCacheRecycleFailure.java | 60 +++++
.../pool/interceptor/TestStatementFinalizer.java | 84 +++++-
.../jmx/TestDataSourceRegistrationVsClose.java | 77 +++++-
.../jdbc/pool/jmx/TestJmxCredentialAttributes.java | 33 +++
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 72 ++++++
webapps/docs/changelog.xml | 14 +
48 files changed, 2422 insertions(+), 945 deletions(-)
rename
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/{TestSlowQueryReportDuplicatePoolNames.java
=> TestSlowQueryReportPoolNames.java} (53%)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheAbandonedPool.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCachePurgeCloseFailure.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]