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 4e2a298b86 Fix IDE warnings
new 5b87c25090 Fail when the jdbc-pool dataSourceJNDI lookup cannot be
resolved
new 2617696ddb Do not queue a wake-up placeholder into a closed JDBC
connection pool
new f5f09d4df2 Correct the PoolConfiguration contract for
isPoolSweeperEnabled()
new ce859c57e7 Restore in the jdbc-pool tests the public constructors that
reflection requires
new cc8aea116f Terminate the asynchronous borrows of a closing JDBC
connection pool
new a6186e502e Claim the async pooled connection once, fixing a two-owner
race
new b8a6e58e38 Keep only a published JMX name as the DataSource
unregistration handle
new 7b49db9994 Fail the JDBC resource creation on an unusable boolean
attribute
new 5f3989ab22 Take the pool reference with a single read on the JDBC
borrow paths
new 9aae971948 Fail a timed-out async poll of the fair JDBC pool queue
terminally
new 3a2f0152fa Answer the Object methods on the query report statement
proxies
new 61d70086e5 Terminate a pending transaction by rollback when validating
new ca0ea626d5 Publish the slow queries of the JMX report as a snapshot
new 4ad410a5b6 Send the slow query JMX notifications from a serializable
source
new 53aa62d8a0 Remove a cached statement of the statement cache by identity
new b74468380c Park a statement of the statement cache in a single step
new 8c1557a3f8 Always use the statement facade; deprecate
useStatementFacade
new 37c1b67959 Document how a pooled statement reaches the driver's own
class
new 999be3ade9 Close the XA handle when its logical connection cannot be
obtained
new 83bf651457 Seal every result set a pooled statement hands back
new 1b64b8b4ce Seal the cursors a pooled result set hands out as a column
value
new 967ac99a8e 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]