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 930615d432 Expand the explanation of the case sensitivity requirements
new 51e018a12f Read credentials under the configuration monitor when
connecting
new ea0cbf8111 Remove credential aliases from the driver properties after
a rotation
new 76720131f8 Reject start-time property writes that race pool
construction
new 2119802c95 Check for a closed pool before opening a connection in
createConnection
new 42f4024321 Publish the pool cleaner only after it has been scheduled
new 5d33792cd2 Refuse isSameRM on a retired XA session
new 798e5435b6 Do not overwrite a close performed while the pool is being
initialized
new 9538eea664 Do not truncate the PoolProperties dump on a failed field
lookup
new d7223f6463 Use an immutable configuration snapshot with a single apply
path
new d341f0d027 Clear string-supplied credentials when the credential is
explicitly cleared
new 4c3aa69325 Protect connect and reconnectWith from a racing release
new 0fe1e19c43 Inspect the cached chain when deciding on connection-state
defaults
new d1d03d1b3c Stop pool initialization when a start callback closes the
pool
new c3ba26bf6a Do not publish a data source whose pool closed during
construction
new cc991607c8 Bound the initial pre-load count at allocation by maxActive
new e8dc21cbb8 Return copies of the live view's interceptor definitions
new 5c35421be3 Synchronize snapshot copies with the source configuration
new adfc1df029 Release connections purged during idle validation
new a93561612e Publish the statement cache poolable hint across threads
new 41f3e69fd7 Use one configuration generation for the whole connect
new d1faef7bcc Check interceptor order on live configuration changes
new 58c03f255f Claim pool closure atomically across concurrent callers
new dc6e024398 Mask and flatten external text consistently in pool
diagnostics
new 7a1bfafec5 Deliver notifyPool=false JMX notifications off the query
thread
new 9c33638037 Correct the MBean republishing contract in unregisterMBean
new 1baaef123c Describe what ProxyConnection.isClosed actually reports
new eca5735e3a Correct the InterceptorDefinition class-loading
documentation
new 3f9e556686 Stop snapshot copies from consuming default pool names
new 67a0318645 Do not reconnect connections for a pool that has closed
new f9d604e835 Restore ConnectionState initial state for caching-only pools
new 1d307b84bf Terminate a pending transaction for every dirty session
borrow
new feddcdba49 Detach the pool's live configuration from the caller's
PoolProperties
new 2c3864e247 Validate live configuration writes before publishing them
new 9b8969b6ef Hand a ConnectionFuture's connection to one caller only
new 028c9c424f Do not hold the connection monitor across reconnectWith's
disconnect notification
new 76023a80ee Use one configuration generation for reconnectWith's
credentials
new 4c330daffc Read mutable configuration once in timeout and max-age
decisions
new 52d14d60ed Answer PooledConnection.getConnection with the pooled
logical handle
new f4266e83ed Mask URL userinfo passwords containing query or property
separators
new 3962d64c39 Mask credentials embedded in database property values
new f3d84880b9 Allow a forced close to escalate a graceful close
new 156171f265 Flatten throwable diagnostics and mask the pool name in JMX
warnings
new 85771ed1d3 Clarify pool configuration and interceptor documentation
new 09894ae01b Correct JMX registration documentation and pool MBean
metadata
new 795c266803 Keep pool maintenance and reconnect diagnostics out of a
closing pool
new 76b8c19182 Normalize and validate the connection properties string
new b08a2772d9 Validate isolation levels and normalize interceptor
property parsing
new 6101add5c4 Warn on unknown interceptor properties and mask semicolons
in credentials
new 3dd2d6ac4e Synchronize the pooled connection attributes and clear
credentials on release
new 7ccb19e9a4 Remove dead thread-dump helper and document SQL logging
exposure
new d6009b1b3d Deregister an async waiter when its caller is interrupted
The 51 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]