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 57f761a351 Review "Do not resolve REMOTE_IDENT to the authenticated
user in..."
new 145d980cf2 Match the naming factory setProperty fallback by signature,
not name
new 5b4be8eec9 Do not convert missing reference content to boolean or
InetAddress values
new fbcf083784 Count every connection the pool hands to a borrower as a
borrow
new da29e26263 Fix the JMX pool object hand-over race in the connection
pool setup
new 58772060f3 Do not strand a returned connection on an unchecked driver
failure
new 0302db0d32 Do not count connections torn down by a forced pool close
as abandoned
new 6d0fa2a79c Report a cause when an async borrow's connection was
released
new e30f820b04 Do not test idle connections the pool has not claimed
new 97cf243a44 Test that a borrower is not head-of-line blocked by the
idle test
new 3e343adf07 Publish a JMX MBean for every physical JDBC pool connection
new bcba87ba4d Undo the pool MBean publication when DataSource
registration fails
new 88831d678b Synchronise DataSource JMX registration against close()
new 3e3b33d30c Accept live data sources and skip empty attributes in the
pool JNDI factory
new d9f272b615 Warn when the pool JNDI factory is given a no-op property
new e2978ca8a4 Report reference attributes the pool JNDI factory never
reads
new cbb7a0c048 DataSourceProxy: clear mirrored credential in dbProperties
on null set
new fd96bd82a9 DataSourceProxy: reject a null PoolConfiguration in the
setter
new 2ef31d9be9 Do not wait on pool creation when closing a JDBC pool data
source
new d17d596cd8 FairBlockingQueue: reject null elements to honour the
BlockingQueue contract
new a68641e8b8 FairBlockingQueue: enforce the Iterator.remove() contract
in FairIterator
new 4757740956 FairBlockingQueue: restore the interrupt status when a poll
is interrupted but an item is delivered
new f5459ff059 FairBlockingQueue: return the changed flag from addAll
rather than a constant true
new f49c62a521 Correct stale driver properties surviving
connectionProperties reconfiguration
new 85163f25fd PoolProperties: make the interceptor definition cache
immune to lost invalidation
new 496d992ada Mask credential values embedded in the url and
connectionProperties diagnostics output
new 064fc68f85 Fix two checkstyle violations in the jdbc-pool module
The 26 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 | 56 +++-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 302 +++++++++++++----
.../org/apache/tomcat/jdbc/pool/DataSource.java | 114 +++++--
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 115 ++++++-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 159 +++++++--
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 49 ++-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 204 +++++++++++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 41 ++-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 9 +-
.../TestDataSourceFactoryNoOpPropertyWarnings.java | 247 ++++++++++++++
.../TestDataSourceFactoryRefAddrContent.java | 303 +++++++++++++++++
...stDataSourceFactoryUnknownPropertyWarnings.java | 284 ++++++++++++++++
.../tomcat/jdbc/naming/TestNamingFactory.java | 335 +++++++++++++++++++
.../pool/TestAsyncBorrowFailureDiagnostics.java | 364 ++++++++++++++++++++
.../jdbc/pool/TestBorrowReturnStatistics.java | 130 ++++++++
.../tomcat/jdbc/pool/TestCloseVsPoolCreation.java | 68 ++--
.../jdbc/pool/TestDataSourceProxyCredentials.java | 100 ++++++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 139 +++++++-
.../pool/TestForcedShutdownDoesNotAbandon.java | 126 +++++++
.../jdbc/pool/TestIdleValidationHeadOfLine.java | 197 +++++++++++
.../tomcat/jdbc/pool/TestPoolProperties.java | 84 +++++
.../jdbc/pool/TestSetupConnectionMBeanFailure.java | 172 ++++++++++
.../tomcat/jdbc/pool/TestTestAllIdleClaim.java | 362 ++++++++++++++++++++
.../jdbc/pool/TestThrowingDriverOnReturn.java | 206 ++++++++++++
.../interceptor/TestStatementCacheReconnect.java | 8 +-
.../jmx/TestDataSourceRegistrationVsClose.java | 368 +++++++++++++++++++++
.../tomcat/jdbc/pool/jmx/TestJmxMonitor.java | 45 ++-
.../jdbc/pool/jmx/TestJmxNotificationSource.java | 12 +-
.../pool/jmx/TestJmxNotificationTypeContract.java | 12 +-
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 200 ++++++++++-
webapps/docs/changelog.xml | 43 +++
31 files changed, 4652 insertions(+), 202 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/naming/TestDataSourceFactoryNoOpPropertyWarnings.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/naming/TestDataSourceFactoryRefAddrContent.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/naming/TestDataSourceFactoryUnknownPropertyWarnings.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAsyncBorrowFailureDiagnostics.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestBorrowReturnStatistics.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceProxyCredentials.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestForcedShutdownDoesNotAbandon.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestIdleValidationHeadOfLine.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestSetupConnectionMBeanFailure.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestTestAllIdleClaim.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingDriverOnReturn.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/jmx/TestDataSourceRegistrationVsClose.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]