This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 5f642809f8 Review "Restore the raw HTTP method token for methods
unknown to Tomcat"
new 312be519ad Reject constructor cache requests the cached proxy cannot
satisfy
new 577f4e0f1e Populate the statement proxy constructor cache in the class
initializer
new ec16cdf0d2 Measure reported query execution times with the monotonic
clock
new 09095a230a Stop reporting every query as slow at a negative query
report threshold
new c74764888a Do not report a preparation that carries no SQL in the
query report interceptors
new 47ba15ef73 Give the query report statement proxy a race-free view of
its closed state
new 174f6caa96 Fail the borrow when a configured connection state cannot
be restored
new b8c1ae289d Stop rolling back borrower work for a transaction isolation
level that can never be restored
new b11404e3f1 Warn at pool start when StatementCache is configured before
QueryTimeoutInterceptor
new 1fb2a4dfdb Report a driver refusing setQueryTimeout once per physical
connection
new 99fd4ee10d Report a malformed queryTimeout interceptor property
new ace9fff8d5 Keep the abandoned timer alive while a getObject REF cursor
streams
new 38e7531bdd Release a pool name's JMX state only when the release still
owns it
new de05a3f69b Serve the SlowQueriesCD attribute as an empty array when no
statistics exist
new 687c824cac Log slow query warnings independently of the report store
new c96ae09943 Copy defaults-resolved dbProperties into the driver's
connect properties
new fb8c35c1c0 Reject a null connection returned by a configured DataSource
new 8dbd3a3a8e Recognize the state interceptor by class when applying
default state
new 633d336ace Keep an unchecked validation failure from stranding a
connection
new f1b5b88879 Commit the init SQL transaction at connection initialization
new d1d4d20364 Let ProxyConnection's Wrapper answers agree with each other
new 587a13006d Answer isValid with false on a discarded handle
new 0a23e1cb23 Document that the handle's pooled connection listeners go
nowhere
new 5a746fb6bc End the borrow when an application aborts a pooled
connection
new 59ce4b4624 Give the statement facade proxies a race-free view of their
delegate
new ba79c3d106 Name the actual configuration in the XA backing-source
refusal
new f9964b9f83 Release what the abandoned-timer handles wrap once they are
closed
new fcfd2a6649 Let the log flags alone govern slow and failed query logging
new c75099970e Measure the failed execution's duration with the monotonic
clock too
new 4c558ee196 Close a cached statement quietly when its cache no longer
exists
new 44942ae218 Snapshot the argument arrays a cached statement is keyed by
new 406195beae Bind a cached statement to the session the prepare ran on
new 1827f89d45 Report a failed statement close instead of a false success
new 0fb813bf26 Give the statement decorator proxies a race-free call
new 7ed06d4738 Answer the tracking statement handle on its own identity
new f8767acde4 Scope the tracked-list promise to closes the handle sees
new c98d6ffd6f Publish the pool MBean's name to the threads that stamp it
new 4bd79d1ec0 Release the pool MBean's name when the server takes it back
new c71898b7f4 Accept or refuse a pool notification as a whole
new 8c9cdd9a3a Pin that pool notification filters never run on the caller
new cb2b2d2f82 Contain a throwing local listener at the listener that threw
new c93a276e9d Say where the statement facade's sealing stops
new 318dd70e43 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, 11787 insertions(+), 525 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]