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 0fcc9f5f3c Expand the explanation of the case sensitivity requirements
new f06c2e9b36 Read credentials under the configuration monitor when
connecting
new 83bbf99195 Remove credential aliases from the driver properties after
a rotation
new a09d869450 Reject start-time property writes that race pool
construction
new 3b4ced9f54 Check for a closed pool before opening a connection in
createConnection
new d5aadcbd70 Publish the pool cleaner only after it has been scheduled
new 49e58b9da8 Refuse isSameRM on a retired XA session
new f6fa21f136 Do not overwrite a close performed while the pool is being
initialized
new 3f871e8b4c Do not truncate the PoolProperties dump on a failed field
lookup
new 11db293ad5 Use an immutable configuration snapshot with a single apply
path
new b3602cbf7c Clear string-supplied credentials when the credential is
explicitly cleared
new 092c7cf71d Protect connect and reconnectWith from a racing release
new e84cb13828 Inspect the cached chain when deciding on connection-state
defaults
new 72f93281c8 Stop pool initialization when a start callback closes the
pool
new 83f62a14ce Do not publish a data source whose pool closed during
construction
new d80d40ccd5 Bound the initial pre-load count at allocation by maxActive
new 46f7fb4915 Return copies of the live view's interceptor definitions
new 15e8419e77 Synchronize snapshot copies with the source configuration
new 7829e53b66 Release connections purged during idle validation
new fd601a1afd Publish the statement cache poolable hint across threads
new 2f2cd630ad Use one configuration generation for the whole connect
new 0b1448bbd7 Check interceptor order on live configuration changes
new 776f9f05c4 Claim pool closure atomically across concurrent callers
new 0df2589738 Mask and flatten external text consistently in pool
diagnostics
new f2b5c10d89 Deliver notifyPool=false JMX notifications off the query
thread
new 37f9bf737e Correct the MBean republishing contract in unregisterMBean
new 21b385d60f Describe what ProxyConnection.isClosed actually reports
new 5944e5bb4d Correct the InterceptorDefinition class-loading
documentation
new de4c1dd8df Stop snapshot copies from consuming default pool names
new 34c601b614 Do not reconnect connections for a pool that has closed
new f5b9d66076 Restore ConnectionState initial state for caching-only pools
new 0c04986658 Terminate a pending transaction for every dirty session
borrow
new 8b18e2b07d Detach the pool's live configuration from the caller's
PoolProperties
new e26be62f1c Validate live configuration writes before publishing them
new d7c734c2d3 Hand a ConnectionFuture's connection to one caller only
new 95e3d65790 Do not hold the connection monitor across reconnectWith's
disconnect notification
new d1ffb8bcad Use one configuration generation for reconnectWith's
credentials
new abb4124eb8 Read mutable configuration once in timeout and max-age
decisions
new 22721cf632 Answer PooledConnection.getConnection with the pooled
logical handle
new 27f9a06455 Mask URL userinfo passwords containing query or property
separators
new 756cb77825 Mask credentials embedded in database property values
new e287763fdf Allow a forced close to escalate a graceful close
new 9d97bdb288 Flatten throwable diagnostics and mask the pool name in JMX
warnings
new fa9abc7abe Clarify pool configuration and interceptor documentation
new 1b9bcd41fc Correct JMX registration documentation and pool MBean
metadata
new 20eeea2e3c Keep pool maintenance and reconnect diagnostics out of a
closing pool
new fd2d937e69 Normalize and validate the connection properties string
new 2a569640c5 Validate isolation levels and normalize interceptor
property parsing
new 970be0dc0e Warn on unknown interceptor properties and mask semicolons
in credentials
new 32ba179de2 Synchronize the pooled connection attributes and clear
credentials on release
new 2b5b3fa003 Remove dead thread-dump helper and document SQL logging
exposure
new fac59908a8 Deregister an async waiter when its caller is interrupted
new 2bf6bd382d Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 52 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 | 17 +-
.../apache/tomcat/jdbc/pool/ClassLoaderUtil.java | 17 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 937 +++++++++++++++------
.../org/apache/tomcat/jdbc/pool/DataSource.java | 27 +-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 37 +-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 179 +++-
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 41 +-
.../apache/tomcat/jdbc/pool/JdbcInterceptor.java | 14 +-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 49 +-
.../tomcat/jdbc/pool/PoolConfigurationView.java | 156 ++++
.../apache/tomcat/jdbc/pool/PoolProperties.java | 583 ++++++++++---
.../org/apache/tomcat/jdbc/pool/PoolUtilities.java | 103 ++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 719 ++++++++++++----
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 80 +-
.../apache/tomcat/jdbc/pool/StatementFacade.java | 43 +-
.../org/apache/tomcat/jdbc/pool/TrapException.java | 7 +-
.../apache/tomcat/jdbc/pool/XABranchTracker.java | 5 +
.../org/apache/tomcat/jdbc/pool/XADataSource.java | 8 +-
.../jdbc/pool/interceptor/ConnectionState.java | 362 ++++++--
.../pool/interceptor/QueryTimeoutInterceptor.java | 44 +-
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 19 +
.../jdbc/pool/interceptor/SlowQueryReport.java | 19 +-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 48 +-
.../jdbc/pool/interceptor/StatementCache.java | 30 +-
.../jdbc/pool/interceptor/StatementFinalizer.java | 18 +
.../jdbc/pool/interceptor/mbeans-descriptors.xml | 2 +-
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 9 +-
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 15 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 21 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 33 +
...taSourceFactoryUnknownPropertyWarningsBase.java | 12 +
.../tomcat/jdbc/naming/NamingFactoryBase.java | 16 +
.../apache/tomcat/jdbc/pool/AllIdleClaimBase.java | 259 ++++++
.../tomcat/jdbc/pool/AlternateCredentialsBase.java | 34 +
.../apache/tomcat/jdbc/pool/AsyncBorrowBase.java | 43 +
.../jdbc/pool/AsyncBorrowCancelRaceBase.java | 13 +-
.../tomcat/jdbc/pool/AsyncBorrowInterruptBase.java | 47 ++
.../tomcat/jdbc/pool/CloseDuringInitBase.java | 134 +++
.../jdbc/pool/CloseVsConcurrentReleaseBase.java | 155 ++++
.../jdbc/pool/ClosedPoolBorrowConnectBase.java | 141 ++++
.../tomcat/jdbc/pool/ConcurrentCloseBase.java | 100 +++
.../pool/ConnectionPoolDataSourceLeakBase.java | 27 +
.../ConnectionPropertiesCredentialAliasesBase.java | 265 ++++++
.../tomcat/jdbc/pool/ConnectionSetupBase.java | 94 ++-
.../pool/CredentialSnapshotDuringConnectBase.java | 293 +++++++
.../DataSourceProxyConstructionSettersBase.java | 147 ++++
.../DataSourceProxyPublicationCleanupBase.java | 25 +
.../jdbc/pool/DefaultStateAtConnectBase.java | 27 +
.../tomcat/jdbc/pool/DiscardedStateRaceBase.java | 4 +-
.../jdbc/pool/DriverConnectDiagnosticsBase.java | 31 +
.../jdbc/pool/FailedCleanerScheduleBase.java | 90 ++
.../pool/ForcedShutdownDoesNotAbandonBase.java | 105 +++
.../pool/InitSqlCommittedAtInitializationBase.java | 52 ++
.../tomcat/jdbc/pool/InitialSizeBelowZeroBase.java | 87 +-
.../jdbc/pool/LiveConfigurationSnapshotBase.java | 445 ++++++++++
.../tomcat/jdbc/pool/PoolPropertiesBase.java | 155 ++++
.../jdbc/pool/PoolSizeSetterValidationBase.java | 109 ++-
.../tomcat/jdbc/pool/PoolSweeperSettersBase.java | 49 +-
.../PooledConnectionConfigurationReadsBase.java | 107 +++
.../apache/tomcat/jdbc/pool/ProxyContractBase.java | 43 +-
.../pool/ReconfigureVsConnectPropertiesBase.java | 172 +---
.../pool/ReconnectWithDiscardedRestoreBase.java | 87 ++
.../pool/RetainedBuilderConfigurationBase.java | 85 ++
.../apache/tomcat/jdbc/pool/TestCredentials.java | 8 +
.../tomcat/jdbc/pool/TestPoolCloseAndShutdown.java | 4 +
.../tomcat/jdbc/pool/TestPoolConfiguration.java | 12 +
.../apache/tomcat/jdbc/pool/TestPoolLifecycle.java | 12 +
.../jdbc/pool/TestPooledConnectionContract.java | 4 +
.../apache/tomcat/jdbc/pool/ValidationBase.java | 9 +-
.../tomcat/jdbc/pool/XaBranchStartBookingBase.java | 2 +
.../apache/tomcat/jdbc/pool/XaConnectionBase.java | 26 +
.../InterceptorPropertyWarningsBase.java | 33 +-
.../PendingTransactionAcrossBorrowersBase.java | 66 +-
...Base.java => QueryTimeoutXaConnectionBase.java} | 92 +-
.../jdbc/pool/interceptor/SessionStateBase.java | 60 ++
.../interceptor/SlowQueryJmxNotificationsBase.java | 82 +-
.../interceptor/SlowQueryReportLoggingBase.java | 5 +-
.../SlowQueryReportNamelessPoolBase.java | 1 +
...lowQueryReportSlowLogAfterChainReleaseBase.java | 5 +-
.../StatementCacheInterceptorOrderBase.java | 25 +
.../pool/interceptor/StatementCacheReuseBase.java | 9 +
.../jdbc/pool/interceptor/TestQueryTimeout.java | 2 +-
.../pool/jmx/DataSourceReregistrationBase.java | 16 +
.../jdbc/pool/jmx/JmxCredentialWritesBase.java | 26 +
.../tomcat/jdbc/pool/jmx/JmxMonitorBase.java | 8 +
.../tomcat/jdbc/pool/util/PoolUtilitiesBase.java | 53 ++
webapps/docs/changelog.xml | 14 +
87 files changed, 6552 insertions(+), 1117 deletions(-)
create mode 100644
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfigurationView.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/CloseDuringInitBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/ClosedPoolBorrowConnectBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/ConcurrentCloseBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/ConnectionPropertiesCredentialAliasesBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/CredentialSnapshotDuringConnectBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/DataSourceProxyConstructionSettersBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/FailedCleanerScheduleBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/LiveConfigurationSnapshotBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/PooledConnectionConfigurationReadsBase.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/RetainedBuilderConfigurationBase.java
rename
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/{QueryTimeoutXaBypassWarningBase.java
=> QueryTimeoutXaConnectionBase.java} (55%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]