You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/11/17 06:28:14 UTC
[jira] Created: (ARIES-495) Enlisting DataSource wrapper closes
connections too early
Enlisting DataSource wrapper closes connections too early
---------------------------------------------------------
Key: ARIES-495
URL: https://issues.apache.org/jira/browse/ARIES-495
Project: Aries
Issue Type: Bug
Components: Transaction
Affects Versions: 0.2
Reporter: Jarek Gawor
Assignee: Jarek Gawor
Fix For: 0.3
The Enlisting DataSource wrapper closes the underlying connection as soon as the application calls ConnectionWrapper.close(). This is not always correct as close() might be called while the transaction is still active.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ARIES-495) Enlisting DataSource wrapper closes
connections too early
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved ARIES-495.
-------------------------------
Resolution: Fixed
I updated the wrapper code to release the connection once the transaction completes. I also updated the code to ensure one connection is (re)used per transaction. Changes committed in revision 1035926.
> Enlisting DataSource wrapper closes connections too early
> ---------------------------------------------------------
>
> Key: ARIES-495
> URL: https://issues.apache.org/jira/browse/ARIES-495
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Affects Versions: 0.2
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 0.3
>
>
> The Enlisting DataSource wrapper closes the underlying connection as soon as the application calls ConnectionWrapper.close(). This is not always correct as close() might be called while the transaction is still active.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.