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 2a7d067cf8 Review "Restore the raw HTTP method token for methods
unknown to Tomcat"
new 767381a30d Reject constructor cache requests the cached proxy cannot
satisfy
new 9ceb8ac5f8 Populate the statement proxy constructor cache in the class
initializer
new a0a1b1a61a Measure reported query execution times with the monotonic
clock
new 15ead006ed Stop reporting every query as slow at a negative query
report threshold
new 1ff771cd63 Do not report a preparation that carries no SQL in the
query report interceptors
new 7d4d9907cc Give the query report statement proxy a race-free view of
its closed state
new d32064e4df Fail the borrow when a configured connection state cannot
be restored
new 0931be156a Stop rolling back borrower work for a transaction isolation
level that can never be restored
new 0cbb0ead32 Warn at pool start when StatementCache is configured before
QueryTimeoutInterceptor
new 469d22d872 Report a driver refusing setQueryTimeout once per physical
connection
new e8c629580e Report a malformed queryTimeout interceptor property
new 7f7747fe3f Keep the abandoned timer alive while a getObject REF cursor
streams
new 715d1ae365 Release a pool name's JMX state only when the release still
owns it
new 96c62b4cc4 Serve the SlowQueriesCD attribute as an empty array when no
statistics exist
new 90b84247c7 Log slow query warnings independently of the report store
new dd4418e234 Copy defaults-resolved dbProperties into the driver's
connect properties
new db11723eba Reject a null connection returned by a configured DataSource
new df2db911d0 Recognize the state interceptor by class when applying
default state
new 1ab6303306 Keep an unchecked validation failure from stranding a
connection
new c5f49fb831 Commit the init SQL transaction at connection initialization
new c8f073fcec Let ProxyConnection's Wrapper answers agree with each other
new 3dce59261f Answer isValid with false on a discarded handle
new 6be4faf4b7 Document that the handle's pooled connection listeners go
nowhere
new 5fb921fd16 End the borrow when an application aborts a pooled
connection
new 1d8ff9f5f3 Give the statement facade proxies a race-free view of their
delegate
new c7f47b0107 Name the actual configuration in the XA backing-source
refusal
new c4ecd89ebe Release what the abandoned-timer handles wrap once they are
closed
new 1d0cfe064b Let the log flags alone govern slow and failed query logging
new 2d9c07067c Measure the failed execution's duration with the monotonic
clock too
new 1a2fceff39 Close a cached statement quietly when its cache no longer
exists
new 90a0bd9b57 Snapshot the argument arrays a cached statement is keyed by
new e28c53927d Bind a cached statement to the session the prepare ran on
new 5d7eb37706 Report a failed statement close instead of a false success
new 64d7e29453 Give the statement decorator proxies a race-free call
new 6ec54de8e7 Answer the tracking statement handle on its own identity
new 768f346f07 Scope the tracked-list promise to closes the handle sees
new fc097a1973 Publish the pool MBean's name to the threads that stamp it
new 0d3dc3ba5f Release the pool MBean's name when the server takes it back
new 6d085b1825 Accept or refuse a pool notification as a whole
new 17d4d27f54 Pin that pool notification filters never run on the caller
new 4ab1ccf93f Contain a throwing local listener at the listener that threw
new f584122758 Say where the statement facade's sealing stops
new 983438a4c5 Localize the pool's exception and log messages
The 43 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]