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 bf14667aa1 Fix IDE warnings
new 4732e9d480 Fail when the jdbc-pool dataSourceJNDI lookup cannot be
resolved
new 778062c9a0 Do not queue a wake-up placeholder into a closed JDBC
connection pool
new 162f38c590 Correct the PoolConfiguration contract for
isPoolSweeperEnabled()
new 6df222a24c Restore in the jdbc-pool tests the public constructors that
reflection requires
new b9a9d39bca Terminate the asynchronous borrows of a closing JDBC
connection pool
new dee6599404 Claim the async pooled connection once, fixing a two-owner
race
new 58adf9fa3b Keep only a published JMX name as the DataSource
unregistration handle
new 1f3ad03d34 Fail the JDBC resource creation on an unusable boolean
attribute
new 0e1caf8048 Take the pool reference with a single read on the JDBC
borrow paths
new b71bd6e119 Fail a timed-out async poll of the fair JDBC pool queue
terminally
new c295a20ae1 Answer the Object methods on the query report statement
proxies
new 3db326f440 Terminate a pending transaction by rollback when validating
new aa573e6746 Publish the slow queries of the JMX report as a snapshot
new 4415dc51a1 Send the slow query JMX notifications from a serializable
source
new c8d1bbd198 Remove a cached statement of the statement cache by identity
new 7d532eadac Park a statement of the statement cache in a single step
new 5882d1f62f Always use the statement facade; deprecate
useStatementFacade
new 651ca173f4 Document how a pooled statement reaches the driver's own
class
new a2e5c5e5eb Close the XA handle when its logical connection cannot be
obtained
new 98e84c3880 Seal every result set a pooled statement hands back
new fa95cfda99 Seal the cursors a pooled result set hands out as a column
value
new eb618ee939 Import order
The 22 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/doc/jdbc-pool.xml | 43 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 221 ++++-
.../org/apache/tomcat/jdbc/pool/DataSource.java | 10 +-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 180 +++-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 64 +-
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 202 ++++-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 64 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 19 +-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 98 ++-
.../apache/tomcat/jdbc/pool/StatementFacade.java | 74 +-
.../jdbc/pool/interceptor/AbstractQueryReport.java | 33 +
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 10 +-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 61 +-
.../jdbc/pool/interceptor/StatementCache.java | 53 +-
.../jdbc/pool/interceptor/StatementFinalizer.java | 12 +
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 12 +
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 2 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 17 +
.../naming/TestDataSourceFactoryJndiLookup.java | 332 ++++++++
.../tomcat/jdbc/naming/TestNamingFactory.java | 147 +++-
.../apache/tomcat/jdbc/pool/TestAsyncBorrow.java | 170 +++-
.../jdbc/pool/TestAsyncBorrowCancelRace.java | 462 +++++++++++
.../tomcat/jdbc/pool/TestCloseVsWaiters.java | 339 ++++++++
.../jdbc/pool/TestCursorOutParameterSealing.java | 908 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 209 ++++-
.../tomcat/jdbc/pool/TestPoolProperties.java | 16 +
.../jdbc/pool/TestStatementConnectionHandle.java | 16 +-
.../jdbc/pool/TestStatementFacadeAlwaysUsed.java | 186 +++++
.../jdbc/pool/TestStatementWrapperContract.java | 301 +++++++
.../pool/TestTerminateTransactionOnReturn.java | 52 ++
.../apache/tomcat/jdbc/pool/TestValidation.java | 64 +-
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 533 ++++++++++++
.../interceptor/TestInterceptorResetOrder.java | 8 +-
.../TestPendingTransactionAcrossBorrowers.java | 133 +++
.../pool/interceptor/TestQueryReportIdentity.java | 323 ++++++++
.../TestResetAbandonedTimerStreaming.java | 68 +-
.../interceptor/TestSlowQueryJmxNotifications.java | 192 +++++
.../TestSlowQueryJmxSlowQueriesCDRace.java | 205 +++++
.../interceptor/TestStatementCacheRacingPark.java | 254 ++++++
.../TestStatementCacheRecycleFailure.java | 237 ++++++
.../pool/interceptor/TestStatementCacheReuse.java | 21 +-
.../TestStatementDecoratorIdentity.java | 334 +++++---
.../pool/interceptor/TestStatementFinalizer.java | 33 +-
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 64 +-
webapps/docs/changelog.xml | 67 ++
45 files changed, 6446 insertions(+), 403 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/naming/TestDataSourceFactoryJndiLookup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAsyncBorrowCancelRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCloseVsWaiters.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCursorOutParameterSealing.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementFacadeAlwaysUsed.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementWrapperContract.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestXaConnectionLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryReportIdentity.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryJmxSlowQueriesCDRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheRacingPark.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheRecycleFailure.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]