Skip to main content

Source code revision

svn

summary: Fix for issue 16806. Whenever a resource adapter signals that the connection is being aborted, during the transaction completion phase, the pool manager delists the resource from the transaction, destroys the resource and sets the connection as closed.This makes sure that an erroneous connection is not returned to the pool.
revision: 47345
author: sm157516
date: 2011-06-07 07:03:28 UTC (4 years)
message: Fix for issue 16806. Whenever a resource adapter signals that the connection is being aborted, during the transaction completion phase, the pool manager delists the resource from the transaction, destroys the resource and sets the connection as closed.This makes sure that an erroneous connection is not returned to the pool.

Tests run: JDBC tests on JDK7 using derby jdbc 4.1 driver, QL, jdbc devtests.

Change Path Actions
M branches/3.1.1/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/spi/BadConnectionEventListener.java
M branches/3.1.1/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/allocator/ConnectorAllocator.java
M branches/3.1.1/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/listener/ConnectionEventListener.java
M branches/3.1.1/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/PoolManager.java
M branches/3.1.1/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/PoolManagerImpl.java
M branches/3.1.1/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnection.java
M branches/3.1.1/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/ConnectionHolder.java
M branches/3.1.1/jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/spi/LogStrings.properties
M branches/3.1.1/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/ConnectionHolder40.java
 
 
Close
loading
Please Confirm
Close