This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from c23e3b62fe Expand the explanation of the case sensitivity requirements
new 3fc0b3d145 Read credentials under the configuration monitor when
connecting
new 329b9cd625 Remove credential aliases from the driver properties after
a rotation
new 94f3eb15ed Reject start-time property writes that race pool
construction
new 2ac858d3d0 Check for a closed pool before opening a connection in
createConnection
new e0bed2615e Publish the pool cleaner only after it has been scheduled
new c6ed821264 Refuse isSameRM on a retired XA session
new 01375f1f62 Do not overwrite a close performed while the pool is being
initialized
new 772312519d Do not truncate the PoolProperties dump on a failed field
lookup
new 394c72a0c9 Use an immutable configuration snapshot with a single apply
path
new 2a84f15cd2 Clear string-supplied credentials when the credential is
explicitly cleared
new f75e5cecd4 Protect connect and reconnectWith from a racing release
new 7886b05923 Inspect the cached chain when deciding on connection-state
defaults
new 664c1f99fa Stop pool initialization when a start callback closes the
pool
new 6d5e1ce535 Do not publish a data source whose pool closed during
construction
new 5c184dc91e Bound the initial pre-load count at allocation by maxActive
new 08882e2055 Return copies of the live view's interceptor definitions
new 620a49fb86 Synchronize snapshot copies with the source configuration
new 4a34fd611d Release connections purged during idle validation
new caae92f6e7 Publish the statement cache poolable hint across threads
new 3965f96b13 Use one configuration generation for the whole connect
new b25a4bbeb2 Check interceptor order on live configuration changes
new 3a1ce7b479 Claim pool closure atomically across concurrent callers
new d56216e701 Mask and flatten external text consistently in pool
diagnostics
new 6a9b334408 Deliver notifyPool=false JMX notifications off the query
thread
new 224236c8f4 Correct the MBean republishing contract in unregisterMBean
new c15e87bc92 Describe what ProxyConnection.isClosed actually reports
new 3f9de91898 Correct the InterceptorDefinition class-loading
documentation
new de5329b29d Stop snapshot copies from consuming default pool names
new 1c935ebd7d Do not reconnect connections for a pool that has closed
new 305a4ccb53 Restore ConnectionState initial state for caching-only pools
new 750e15741b Terminate a pending transaction for every dirty session
borrow
new 1f51c4860d Detach the pool's live configuration from the caller's
PoolProperties
new d652a098df Validate live configuration writes before publishing them
new c223165bab Hand a ConnectionFuture's connection to one caller only
new 8a55083dc3 Do not hold the connection monitor across reconnectWith's
disconnect notification
new 0972f60b26 Use one configuration generation for reconnectWith's
credentials
new 3b315cd359 Read mutable configuration once in timeout and max-age
decisions
new d66fcd3e53 Answer PooledConnection.getConnection with the pooled
logical handle
new 50abdde052 Mask URL userinfo passwords containing query or property
separators
new 33045dd116 Mask credentials embedded in database property values
new cee21260ee Allow a forced close to escalate a graceful close
new 811aa37421 Flatten throwable diagnostics and mask the pool name in JMX
warnings
new 847b2d24be Clarify pool configuration and interceptor documentation
new 893eb2f310 Correct JMX registration documentation and pool MBean
metadata
new 2f593bcbf2 Keep pool maintenance and reconnect diagnostics out of a
closing pool
new 16c5f1ceb0 Normalize and validate the connection properties string
new 4b0750b9b6 Validate isolation levels and normalize interceptor
property parsing
new 283f1d36cc Warn on unknown interceptor properties and mask semicolons
in credentials
new 61861849fc Synchronize the pooled connection attributes and clear
credentials on release
new 392decb4f3 Remove dead thread-dump helper and document SQL logging
exposure
new d1cc906dee 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]