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 486432ecb6 Review "Restore the raw HTTP method token for methods
unknown to Tomcat"
new cd04206279 Reject constructor cache requests the cached proxy cannot
satisfy
new dfd17b62fb Populate the statement proxy constructor cache in the class
initializer
new 5f9ddcff91 Measure reported query execution times with the monotonic
clock
new 5bee818f89 Stop reporting every query as slow at a negative query
report threshold
new cb8a254e8f Do not report a preparation that carries no SQL in the
query report interceptors
new b1b2c11e27 Give the query report statement proxy a race-free view of
its closed state
new 365007ea08 Fail the borrow when a configured connection state cannot
be restored
new 6291789fbe Stop rolling back borrower work for a transaction isolation
level that can never be restored
new f756e04336 Warn at pool start when StatementCache is configured before
QueryTimeoutInterceptor
new 36eef1c9d9 Report a driver refusing setQueryTimeout once per physical
connection
new fe14e3c320 Report a malformed queryTimeout interceptor property
new 96a88ad84a Keep the abandoned timer alive while a getObject REF cursor
streams
new c75253c01b Release a pool name's JMX state only when the release still
owns it
new 38eb7da83b Serve the SlowQueriesCD attribute as an empty array when no
statistics exist
new 0040547e55 Log slow query warnings independently of the report store
new e9454d992c Copy defaults-resolved dbProperties into the driver's
connect properties
new 0cfaba469e Reject a null connection returned by a configured DataSource
new c7d5ba5fa4 Recognize the state interceptor by class when applying
default state
new ac3cee9dae Keep an unchecked validation failure from stranding a
connection
new 03d7f2aff5 Commit the init SQL transaction at connection initialization
new 0edec31f42 Let ProxyConnection's Wrapper answers agree with each other
new 559627745b Answer isValid with false on a discarded handle
new 16972ca6d3 Document that the handle's pooled connection listeners go
nowhere
new d635a3c550 End the borrow when an application aborts a pooled
connection
new 6c4568a748 Give the statement facade proxies a race-free view of their
delegate
new 558f771968 Name the actual configuration in the XA backing-source
refusal
new 87007cef2a Release what the abandoned-timer handles wrap once they are
closed
new 9923737e60 Let the log flags alone govern slow and failed query logging
new d5ebea3dfa Measure the failed execution's duration with the monotonic
clock too
new f6c0000da2 Close a cached statement quietly when its cache no longer
exists
new 8c695e7218 Snapshot the argument arrays a cached statement is keyed by
new ae3acadbbc Bind a cached statement to the session the prepare ran on
new 0091dc06a2 Report a failed statement close instead of a false success
new 717564a77f Give the statement decorator proxies a race-free call
new 8a2056af3c Answer the tracking statement handle on its own identity
new e894f234b6 Scope the tracked-list promise to closes the handle sees
new 70a35f01b1 Publish the pool MBean's name to the threads that stamp it
new 04eda0d9b3 Release the pool MBean's name when the server takes it back
new 530225cfc6 Accept or refuse a pool notification as a whole
new ab03876f8f Pin that pool notification filters never run on the caller
new 26dfe24b42 Contain a throwing local listener at the listener that threw
new 3e9758f27d Say where the statement facade's sealing stops
new 62c1fe79b4 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]