This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from aa1d79bdd6 Expand the explanation of the case sensitivity requirements
new 6ed15627d8 Read credentials under the configuration monitor when
connecting
new 927efb1f24 Remove credential aliases from the driver properties after
a rotation
new 5aa84b6d18 Reject start-time property writes that race pool
construction
new 3dc2536399 Check for a closed pool before opening a connection in
createConnection
new 382b360b37 Publish the pool cleaner only after it has been scheduled
new 2a500f36ed Refuse isSameRM on a retired XA session
new 3ab2743f14 Do not overwrite a close performed while the pool is being
initialized
new 99a094df5a Do not truncate the PoolProperties dump on a failed field
lookup
new f522acc945 Use an immutable configuration snapshot with a single apply
path
new 95dbe11407 Clear string-supplied credentials when the credential is
explicitly cleared
new 5472b8dbb0 Protect connect and reconnectWith from a racing release
new 53657bcbd3 Inspect the cached chain when deciding on connection-state
defaults
new ae439e98db Stop pool initialization when a start callback closes the
pool
new 56cefecbca Do not publish a data source whose pool closed during
construction
new 55d43905ab Bound the initial pre-load count at allocation by maxActive
new 408dafada7 Return copies of the live view's interceptor definitions
new d6e486ce91 Synchronize snapshot copies with the source configuration
new beebd9fc5d Release connections purged during idle validation
new 9383c2dcfe Publish the statement cache poolable hint across threads
new bf730a9204 Use one configuration generation for the whole connect
new a460777cfc Check interceptor order on live configuration changes
new d94a7bbd76 Claim pool closure atomically across concurrent callers
new 02e77b7eb9 Mask and flatten external text consistently in pool
diagnostics
new 6ab068c442 Deliver notifyPool=false JMX notifications off the query
thread
new fded20f7f2 Correct the MBean republishing contract in unregisterMBean
new 60664b3c6c Describe what ProxyConnection.isClosed actually reports
new 6cd64f646e Correct the InterceptorDefinition class-loading
documentation
new 8dd5631e01 Stop snapshot copies from consuming default pool names
new f0b5f6b506 Do not reconnect connections for a pool that has closed
new 3299b6db2e Restore ConnectionState initial state for caching-only pools
new 0f9858e90f Terminate a pending transaction for every dirty session
borrow
new a41e39574b Detach the pool's live configuration from the caller's
PoolProperties
new fe179fca81 Validate live configuration writes before publishing them
new b46edc6cd1 Hand a ConnectionFuture's connection to one caller only
new 9e02f7db3b Do not hold the connection monitor across reconnectWith's
disconnect notification
new 29bfa2deda Use one configuration generation for reconnectWith's
credentials
new a6b67cb527 Read mutable configuration once in timeout and max-age
decisions
new 362c1e2e88 Answer PooledConnection.getConnection with the pooled
logical handle
new 900925ef58 Mask URL userinfo passwords containing query or property
separators
new c28e9c3204 Mask credentials embedded in database property values
new 29d034cbe4 Allow a forced close to escalate a graceful close
new bb30243c0f Flatten throwable diagnostics and mask the pool name in JMX
warnings
new c87391b504 Clarify pool configuration and interceptor documentation
new 204e27275d Correct JMX registration documentation and pool MBean
metadata
new 246dbe1e1f Keep pool maintenance and reconnect diagnostics out of a
closing pool
new 00fce2da5a Normalize and validate the connection properties string
new 47ec23e89e Validate isolation levels and normalize interceptor
property parsing
new 0e7e67264e Warn on unknown interceptor properties and mask semicolons
in credentials
new d1b59d8915 Synchronize the pooled connection attributes and clear
credentials on release
new 5c1f2e3782 Remove dead thread-dump helper and document SQL logging
exposure
new cdd86116b9 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]