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 8c164da347 Review "Do not resolve REMOTE_IDENT to the authenticated
user in..."
new 858781e088 Match the naming factory setProperty fallback by signature,
not name
new 14402ce6a2 Do not convert missing reference content to boolean or
InetAddress values
new ed7f60a2b4 Count every connection the pool hands to a borrower as a
borrow
new f52003964e Fix the JMX pool object hand-over race in the connection
pool setup
new dd21578f1d Do not strand a returned connection on an unchecked driver
failure
new 0e36743b2f Do not count connections torn down by a forced pool close
as abandoned
new 80714bd5e4 Report a cause when an async borrow's connection was
released
new 99bbc6e1d8 Do not test idle connections the pool has not claimed
new 898e947db3 Test that a borrower is not head-of-line blocked by the
idle test
new b273dbb063 Publish a JMX MBean for every physical JDBC pool connection
new 5c01b49acb Undo the pool MBean publication when DataSource
registration fails
new ba8d686618 Synchronise DataSource JMX registration against close()
new d48826e558 Accept live data sources and skip empty attributes in the
pool JNDI factory
new b1751b6ce3 Warn when the pool JNDI factory is given a no-op property
new 9daaca472c Report reference attributes the pool JNDI factory never
reads
new f4004a0416 DataSourceProxy: clear mirrored credential in dbProperties
on null set
new 85b440fea7 DataSourceProxy: reject a null PoolConfiguration in the
setter
new 653f4e773e Do not wait on pool creation when closing a JDBC pool data
source
new 15c12f7b47 FairBlockingQueue: reject null elements to honour the
BlockingQueue contract
new 6e31054166 FairBlockingQueue: enforce the Iterator.remove() contract
in FairIterator
new c9921eb0fb FairBlockingQueue: restore the interrupt status when a poll
is interrupted but an item is delivered
new 3d2d4dbb05 FairBlockingQueue: return the changed flag from addAll
rather than a constant true
new ba192d2059 Correct stale driver properties surviving
connectionProperties reconfiguration
new 0865151c60 PoolProperties: make the interceptor definition cache
immune to lost invalidation
new 358ffc6051 Mask credential values embedded in the url and
connectionProperties diagnostics output
new 8460826c27 Fix two checkstyle violations in the jdbc-pool module
new 369446a74e Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 27 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:
modules/jdbc-pool/TESTING-PLAN.md | 17 +-
.../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 +++
32 files changed, 4663 insertions(+), 208 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]