geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-2688) no-pool and xa-transaction with no caching result in connections being closed before the tx ends.
Date Tue, 02 Jan 2007 23:13:27 GMT
no-pool and xa-transaction with no caching result in connections being closed before the tx
ends.
-------------------------------------------------------------------------------------------------

                 Key: GERONIMO-2688
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2688
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: connector
    Affects Versions: 1.1.1, 1.2, 2.0
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 2.0


A user has discovered that a connection manager for an outbound resource adapter configured
for no-pool and xa-transaction (with no caching) results in the physical connection being
closed before the transaction can be completed.  This might possibly be a problem with pooling
enabled if there's a long delay between the connection handle being closed and the transaction
ending, during which time the idle remover might fire up and remove the connection.

This problem can be worked around by enabling transaction-caching which keeps the connection
associated with the transaction until the transaction ends (preventing it from being closed)
or by enabling thread-caching (which ties the connection to the thread more or less indefinitely,
and has not really been tested ever).

I'll think about whether it is practical to fix this directly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message