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 0894c655fd Rename for consistency
new d52e61082f Do not fail getPoolName() before the pool exists
new 25c7ed08b1 Registering a DataSource before its pool exists no longer
fails
new 4f91400310 Unregister the pool MBean when the DataSource is closed
new 38ad6e58a4 Mask the password in DataSourceProxy.getDbProperties()
new 401360bcfb Round-trip connection properties through DataSourceProxy
new 3c0312bf72 Keep equals on the pooled connection a contract-respecting
false
new 03bd5fdaa4 Make async polls of the fair pool queue cancellable
new b049a70a01 Isolate interceptor disconnected() failures from the
physical close
new 681e036482 Isolate interceptor reset() failures from pool shutdown
new 3489ef8e50 Recognise JDBC 4.2 large executions in jdbc-pool query
reporting
new f8750937e2 Never let query reporting throw at the application
new 27d71c6734 Stop the jdbc-pool tests from waiting on the clock
new 86f0d00599 Answer equals and hashCode on a facade-less pooled
connection
new 74d2682a0a Round-trip connection properties through the JNDI factory
new 77284770ab Report malformed interceptor properties by name in jdbc-pool
new 7a602d445b Preserve non-ASCII characters in jdbc-pool connection
properties
new 1f0836f371 Close the PooledConnection handle obtained from a
ConnectionPoolDataSource
new eb0a043e66 Release the per-connection lock by lock state, not by
configuration
new 3e53c8028a Always use the disposable connection facade; deprecate
useDisposableConnectionFacade
new f484120a9e Report a disconnected pooled connection instead of an NPE
through its MBean
new 5339d66f61 Report the pooled connection from a statement the pool
proxied
new 48dab12c50 Retire statement handles when the pooled connection goes
back
new a121903ccb 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/TESTING-PLAN.md | 27 +-
modules/jdbc-pool/doc/jdbc-pool.xml | 16 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 83 ++++--
.../org/apache/tomcat/jdbc/pool/DataSource.java | 46 ++-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 29 +-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 46 ++-
.../jdbc/pool/DisposableConnectionFacade.java | 10 +-
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 74 ++++-
.../apache/tomcat/jdbc/pool/JdbcInterceptor.java | 5 +
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 39 ++-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 48 ++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 170 +++++++++--
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 21 +-
.../apache/tomcat/jdbc/pool/StatementFacade.java | 68 ++++-
.../AbstractCreateStatementInterceptor.java | 12 +-
.../jdbc/pool/interceptor/AbstractQueryReport.java | 91 +++---
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 12 +
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 2 +-
.../tomcat/jdbc/pool/TestCloseDuringBorrow.java | 55 ++--
.../tomcat/jdbc/pool/TestCloseVsPoolCreation.java | 2 +-
.../jdbc/pool/TestConnectionAcquireRelease.java | 8 +-
.../pool/TestConnectionPoolDataSourceLeak.java | 324 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestFacadeAlwaysUsed.java | 163 +++++++++++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 108 ++++++-
.../tomcat/jdbc/pool/TestInterruptedWaiter.java | 2 +-
.../pool/TestJdbcInterceptorConfigParsing.java | 52 +++-
.../pool/TestMBeanDelegationWhenDisconnected.java | 118 ++++++++
.../apache/tomcat/jdbc/pool/TestPoolEviction.java | 6 +-
.../tomcat/jdbc/pool/TestPoolProperties.java | 103 +++++++
.../jdbc/pool/TestPooledConnectionLockRelease.java | 126 ++++++++
.../apache/tomcat/jdbc/pool/TestProxyContract.java | 36 ++-
.../tomcat/jdbc/pool/TestReleaseWaiters.java | 18 +-
.../jdbc/pool/TestStatementConnectionHandle.java | 214 ++++++++++++++
.../jdbc/pool/TestStatementHandleLifetime.java | 189 ++++++++++++
.../pool/TestThrowingDisconnectedInterceptor.java | 111 +++++++
.../jdbc/pool/TestThrowingResetInterceptor.java | 111 +++++++
.../jdbc/pool/TestUnlockedMaintenanceSweep.java | 15 +-
.../pool/interceptor/TestInterceptorSemantics.java | 226 +++++++++++++-
.../tomcat/jdbc/pool/jmx/TestJmxMonitor.java | 95 ++++++
webapps/docs/changelog.xml | 38 +++
40 files changed, 2704 insertions(+), 215 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestConnectionPoolDataSourceLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestFacadeAlwaysUsed.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestMBeanDelegationWhenDisconnected.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPooledConnectionLockRelease.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementConnectionHandle.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementHandleLifetime.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingDisconnectedInterceptor.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingResetInterceptor.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]