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 a0490668ea Review "Restore the raw HTTP method token for methods 
unknown to Tomcat"
     new b0d4b55121 Reject constructor cache requests the cached proxy cannot 
satisfy
     new b854ebf6ee Populate the statement proxy constructor cache in the class 
initializer
     new 4e27e0086f Measure reported query execution times with the monotonic 
clock
     new cb3bb518a4 Stop reporting every query as slow at a negative query 
report threshold
     new 62145cc939 Do not report a preparation that carries no SQL in the 
query report interceptors
     new 495b82258a Give the query report statement proxy a race-free view of 
its closed state
     new 3bbc6fad4e Fail the borrow when a configured connection state cannot 
be restored
     new b1806f77b2 Stop rolling back borrower work for a transaction isolation 
level that can never be restored
     new 59a6c88d96 Warn at pool start when StatementCache is configured before 
QueryTimeoutInterceptor
     new f3c56672eb Report a driver refusing setQueryTimeout once per physical 
connection
     new 0b13f02031 Report a malformed queryTimeout interceptor property
     new 1451c50fa7 Keep the abandoned timer alive while a getObject REF cursor 
streams
     new 2abcbb3dee Release a pool name's JMX state only when the release still 
owns it
     new c12f11009d Serve the SlowQueriesCD attribute as an empty array when no 
statistics exist
     new a4313293ce Log slow query warnings independently of the report store
     new 6ca1a6cf5d Copy defaults-resolved dbProperties into the driver's 
connect properties
     new 6a245abbe0 Reject a null connection returned by a configured DataSource
     new 154c5f1e32 Recognize the state interceptor by class when applying 
default state
     new 036177b159 Keep an unchecked validation failure from stranding a 
connection
     new 878ea18e6d Commit the init SQL transaction at connection initialization
     new b89804f8ab Let ProxyConnection's Wrapper answers agree with each other
     new 67532e3a59 Answer isValid with false on a discarded handle
     new 343f709177 Document that the handle's pooled connection listeners go 
nowhere
     new d7a7842709 End the borrow when an application aborts a pooled 
connection
     new b207ff5fbc Give the statement facade proxies a race-free view of their 
delegate
     new 472c4b9c37 Name the actual configuration in the XA backing-source 
refusal
     new 2ec1b94149 Release what the abandoned-timer handles wrap once they are 
closed
     new c753bb7724 Let the log flags alone govern slow and failed query logging
     new aae1a660e1 Measure the failed execution's duration with the monotonic 
clock too
     new 7242d584c7 Close a cached statement quietly when its cache no longer 
exists
     new 30202e2945 Snapshot the argument arrays a cached statement is keyed by
     new 391402c225 Bind a cached statement to the session the prepare ran on
     new 342c9b1ee9 Report a failed statement close instead of a false success
     new 11302eaa3e Give the statement decorator proxies a race-free call
     new 0ada7301a4 Answer the tracking statement handle on its own identity
     new 160e3e333f Scope the tracked-list promise to closes the handle sees
     new 82e70edf74 Publish the pool MBean's name to the threads that stamp it
     new faf1d20dba Release the pool MBean's name when the server takes it back
     new cec2fc527b Accept or refuse a pool notification as a whole
     new b6db41c5b8 Pin that pool notification filters never run on the caller
     new c31f0e7524 Contain a throwing local listener at the listener that threw
     new 2803721b09 Say where the statement facade's sealing stops
     new d9a86ce59f Localize the pool's exception and log messages
     new 50d5ee444a Merge branch 'main' of [email protected]:apache/tomcat.git 
into main

The 44 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/build.xml                        |   7 +
 modules/jdbc-pool/doc/jdbc-pool.xml                |   5 +-
 modules/jdbc-pool/pom.xml                          |  11 +
 .../jdbc/naming/GenericNamingResourcesFactory.java |  36 +-
 .../apache/tomcat/jdbc/pool/ClassLoaderUtil.java   |   6 +-
 .../apache/tomcat/jdbc/pool/ConnectionPool.java    | 156 +++--
 .../org/apache/tomcat/jdbc/pool/DataSource.java    |   8 +-
 .../apache/tomcat/jdbc/pool/DataSourceFactory.java |  35 +-
 .../apache/tomcat/jdbc/pool/DataSourceProxy.java   |  34 +-
 .../jdbc/pool/DisposableConnectionFacade.java      |  43 +-
 .../apache/tomcat/jdbc/pool/FairBlockingQueue.java |  31 +-
 .../apache/tomcat/jdbc/pool/JdbcInterceptor.java   |   4 +
 .../apache/tomcat/jdbc/pool/PoolConfiguration.java |  14 +
 .../apache/tomcat/jdbc/pool/PoolProperties.java    |  17 +-
 .../org/apache/tomcat/jdbc/pool/PoolUtilities.java |  19 +-
 .../apache/tomcat/jdbc/pool/PooledConnection.java  | 204 +++++-
 .../apache/tomcat/jdbc/pool/ProxyConnection.java   | 139 +++-
 .../apache/tomcat/jdbc/pool/StatementFacade.java   |  88 ++-
 .../org/apache/tomcat/jdbc/pool/TrapException.java |   8 +-
 .../org/apache/tomcat/jdbc/pool/XADataSource.java  |  20 +-
 .../AbstractCreateStatementInterceptor.java        |  80 ++-
 .../jdbc/pool/interceptor/AbstractQueryReport.java | 160 +++--
 .../jdbc/pool/interceptor/ConnectionState.java     |  79 ++-
 .../pool/interceptor/QueryTimeoutInterceptor.java  |  75 +-
 .../jdbc/pool/interceptor/ResetAbandonedTimer.java | 184 +++--
 .../jdbc/pool/interceptor/SlowQueryReport.java     |  71 +-
 .../jdbc/pool/interceptor/SlowQueryReportJmx.java  | 170 ++++-
 .../jdbc/pool/interceptor/StatementCache.java      | 183 ++++-
 .../interceptor/StatementDecoratorInterceptor.java |  86 ++-
 .../jdbc/pool/interceptor/StatementFinalizer.java  |  48 +-
 .../tomcat/jdbc/pool/jmx/ConnectionPool.java       | 139 ++--
 .../org/apache/tomcat/jdbc/pool/jmx/JmxUtil.java   |   5 +-
 .../tomcat/jdbc/pool/util/LocalStrings.properties  | 199 ++++++
 .../tomcat/jdbc/pool}/util/MessageFactory.java     |  20 +-
 .../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java   |  35 +
 .../tomcat/jdbc/pool/TestAbortEndsTheBorrow.java   | 752 +++++++++++++++++++++
 .../jdbc/pool/TestCompositeValueBoundary.java      | 579 ++++++++++++++++
 .../tomcat/jdbc/pool/TestConnectionSetup.java      | 298 +++++++-
 .../jdbc/pool/TestDefaultStateAtConnect.java       | 354 ++++++++++
 .../pool/TestInitSqlCommittedAtInitialization.java | 559 +++++++++++++++
 .../jdbc/pool/TestIsValidOnDiscardedHandle.java    | 283 ++++++++
 .../pool/TestNullConnectionFromDataSource.java     | 231 +++++++
 .../apache/tomcat/jdbc/pool/TestPoolUtilities.java | 130 ++++
 .../pool/TestPooledConnectionListenerContract.java | 325 +++++++++
 .../pool/TestStatementFacadeCrossThreadClose.java  | 429 ++++++++++++
 .../jdbc/pool/TestThrowingBuiltInValidation.java   | 520 ++++++++++++++
 .../tomcat/jdbc/pool/TestWrapperContract.java      | 167 ++++-
 .../jdbc/pool/TestXADataSourceRefusalMessages.java |  80 +++
 .../TestAbstractCreateStatementInterceptor.java    | 222 ++++++
 .../pool/interceptor/TestInterceptorSemantics.java |   4 +-
 .../TestQueryReportCrossThreadClose.java           | 231 +++++++
 .../interceptor/TestQueryReportExtraction.java     |  92 ++-
 .../pool/interceptor/TestQueryReportTiming.java    | 311 +++++++++
 .../interceptor/TestQueryTimeoutDriverRefusal.java | 397 +++++++++++
 .../TestQueryTimeoutMalformedProperty.java         | 228 +++++++
 .../TestQueryTimeoutWithStatementCache.java        | 136 +++-
 .../TestResetAbandonedTimerCursorOutParameter.java | 550 +++++++++++++++
 .../TestResetAbandonedTimerHandleRetention.java    | 190 ++++++
 .../interceptor/TestSlowQueryJmxMBeanSurface.java  |  72 ++
 .../interceptor/TestSlowQueryJmxNotifications.java | 255 ++++++-
 .../interceptor/TestSlowQueryReportLogging.java    | 322 +++++++++
 ...estSlowQueryReportSlowLogAfterChainRelease.java | 245 +++++++
 .../TestStatementCacheCloseAfterDisposal.java      | 104 +++
 .../TestStatementCacheInterceptorOrder.java        | 257 +++++++
 .../interceptor/TestStatementCacheKeySnapshot.java | 215 ++++++
 .../TestStatementDecoratorCloseFailure.java        | 311 +++++++++
 .../TestStatementDecoratorCrossThreadClose.java    | 214 ++++++
 .../pool/interceptor/TestStatementFinalizer.java   | 189 +++++-
 .../jdbc/pool/jmx/TestJmxNotificationDelivery.java | 421 ++++++++++++
 .../jdbc/pool/jmx/TestJmxNotificationSource.java   |  75 +-
 .../tomcat/jdbc/pool/jmx/TestJmxRegistration.java  |  87 +++
 webapps/docs/changelog.xml                         |  58 ++
 72 files changed, 11784 insertions(+), 528 deletions(-)
 create mode 100644 
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/util/LocalStrings.properties
 copy {java/org/apache/el => 
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool}/util/MessageFactory.java
 (89%)
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAbortEndsTheBorrow.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCompositeValueBoundary.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDefaultStateAtConnect.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestInitSqlCommittedAtInitialization.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestIsValidOnDiscardedHandle.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestNullConnectionFromDataSource.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPoolUtilities.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPooledConnectionListenerContract.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementFacadeCrossThreadClose.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingBuiltInValidation.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestXADataSourceRefusalMessages.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestAbstractCreateStatementInterceptor.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryReportCrossThreadClose.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryReportTiming.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryTimeoutDriverRefusal.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryTimeoutMalformedProperty.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestResetAbandonedTimerCursorOutParameter.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestResetAbandonedTimerHandleRetention.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryReportLogging.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryReportSlowLogAfterChainRelease.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheCloseAfterDisposal.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheInterceptorOrder.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheKeySnapshot.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementDecoratorCloseFailure.java
 create mode 100644 
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementDecoratorCrossThreadClose.java


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to