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 2d9abd701b Fix IDE warnings
new 5f4b14f6bc Fail when the jdbc-pool dataSourceJNDI lookup cannot be
resolved
new 5a9ed30df8 Merge branch 'main' of [email protected]:apache/tomcat.git
into main
new 2a9fae54ae Do not queue a wake-up placeholder into a closed JDBC
connection pool
new cf9d9ab24d Correct the PoolConfiguration contract for
isPoolSweeperEnabled()
new cb3e8099d3 Restore in the jdbc-pool tests the public constructors that
reflection requires
new 31f772f529 Terminate the asynchronous borrows of a closing JDBC
connection pool
new 66aee08dc0 Claim the async pooled connection once, fixing a two-owner
race
new 41eeb41e36 Keep only a published JMX name as the DataSource
unregistration handle
new 056d79bf12 Fail the JDBC resource creation on an unusable boolean
attribute
new 714c601930 Take the pool reference with a single read on the JDBC
borrow paths
new ca5e231ce8 Fail a timed-out async poll of the fair JDBC pool queue
terminally
new 030a8b0880 Answer the Object methods on the query report statement
proxies
new 8926ef07a7 Terminate a pending transaction by rollback when validating
new 09ce40b5a5 Publish the slow queries of the JMX report as a snapshot
new b6fe265029 Send the slow query JMX notifications from a serializable
source
new 1c42196bd1 Remove a cached statement of the statement cache by identity
new 9d65bd50f8 Park a statement of the statement cache in a single step
new deaa78a360 Always use the statement facade; deprecate
useStatementFacade
new db813f807c Document how a pooled statement reaches the driver's own
class
new 0ad7c6cf79 Close the XA handle when its logical connection cannot be
obtained
new 3872e88198 Seal every result set a pooled statement hands back
new ae8680275a Seal the cursors a pooled result set hands out as a column
value
new f99f34a5fc Merge branch 'main' of [email protected]:apache/tomcat.git
into main
The 23 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]