jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (JIRA) <j...@apache.org>
Subject [jira] [Updated] (JCR-3378) The ConnectionHelper can return a closed Connection in BatchMode
Date Fri, 13 Jul 2012 05:48:34 GMT

     [ https://issues.apache.org/jira/browse/JCR-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Claus Köll updated JCR-3378:

    Attachment: JCR-3378_ConnectionHelper.patch

In this patch i changed the order of closing and removing a batch connection from the cache
(Map/ThreadLocal). I also combined the caching into a Map regardless of xa environment or
> The ConnectionHelper can return a closed Connection in BatchMode
> ----------------------------------------------------------------
>                 Key: JCR-3378
>                 URL: https://issues.apache.org/jira/browse/JCR-3378
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4.2
>            Reporter: Claus Köll
>            Assignee: Claus Köll
>         Attachments: JCR-3378_ConnectionHelper.patch
> It is possible that the method inBatchMode() returns true and meanwhile the connection
will be closed.
> Closing the Connection and removing it from BatchMode is not synchronized. I must check
if we can handle it by order the close and remove.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message