geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-561) Connection obtained in Synchronization.afterCompletion gets associated w/tx context
Date Tue, 01 Feb 2005 00:43:17 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-561?page=history ]
     
David Jencks closed GERONIMO-561:
---------------------------------

     Resolution: Fixed
    Fix Version: 1.0-M4

fixed in rev 149334.

> Connection obtained in Synchronization.afterCompletion gets associated w/tx context
> -----------------------------------------------------------------------------------
>
>          Key: GERONIMO-561
>          URL: http://issues.apache.org/jira/browse/GERONIMO-561
>      Project: Apache Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M4

>
> If you have code like this in a Synchronization.afterCompletion:
> Connection c = ds.getConnection();
> //do something
> c.close();
> it gets added to the connection tracking of the transaction context that just ended.
 c.close() returns it to the pool, properly, but the end-of-tx cleanup returns it to the pool
a second time.  
> The connection should not be tracked by the transaction  context, the transaction is
over.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message