You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Claus Köll (JIRA)" <ji...@apache.org> on 2012/06/21 09:51:45 UTC
[jira] [Created] (JCR-3353) A DeadLock can occur if an Exception is
thrown while unlocking the Journal
Claus Köll created JCR-3353:
-------------------------------
Summary: A DeadLock can occur if an Exception is thrown while unlocking the Journal
Key: JCR-3353
URL: https://issues.apache.org/jira/browse/JCR-3353
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-core
Affects Versions: 2.4.2
Reporter: Claus Köll
Assignee: Claus Köll
Priority: Minor
Fix For: 2.4.3
While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Updated] (JCR-3353) A DeadLock can occur if an Exception is
thrown while unlocking the Journal
Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated JCR-3353:
---------------------------------
Fix Version/s: 2.5.1
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 2.4.3, 2.5.1
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Commented] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Bart van der Schans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428011#comment-13428011 ]
Bart van der Schans commented on JCR-3353:
------------------------------------------
Backported in revision 1368903.
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Bart van der Schans
> Priority: Minor
> Fix For: 2.4.3, 2.5.1
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Commented] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Unico Hommes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464563#comment-13464563 ]
Unico Hommes commented on JCR-3353:
-----------------------------------
Backported to 2.2 in revision 1390903.
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Bart van der Schans
> Priority: Minor
> Fix For: 2.2.13, 2.4.3, 2.5.1
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Bart van der Schans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398299#comment-13398299 ]
Bart van der Schans commented on JCR-3353:
------------------------------------------
Nice catch! We might want to port this to the 2.2 branch as well.
Bart
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 2.4.3
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Assigned] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Bart van der Schans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bart van der Schans reassigned JCR-3353:
----------------------------------------
Assignee: Bart van der Schans (was: Claus Köll)
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Bart van der Schans
> Priority: Minor
> Fix For: 2.4.3, 2.5.1
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Updated] (JCR-3353) A DeadLock can occur if an Exception is
thrown while unlocking the Journal
Posted by "Unico Hommes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Unico Hommes updated JCR-3353:
------------------------------
Fix Version/s: 2.2.13
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Bart van der Schans
> Priority: Minor
> Fix For: 2.2.13, 2.4.3, 2.5.1
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Köll resolved JCR-3353.
-----------------------------
Resolution: Fixed
Committed in revision 1352440.
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 2.4.3
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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
[jira] [Commented] (JCR-3353) A DeadLock can occur if an Exception
is thrown while unlocking the Journal
Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398265#comment-13398265 ]
Claus Köll commented on JCR-3353:
---------------------------------
The ConnectionHelper should throw a SQLException if something is wrong with the BatchMode.
> A DeadLock can occur if an Exception is thrown while unlocking the Journal
> --------------------------------------------------------------------------
>
> Key: JCR-3353
> URL: https://issues.apache.org/jira/browse/JCR-3353
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.4.2
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 2.4.3
>
>
> While analysing JCR-3349 i found that if a IllegalStateException is thrown (DatabaseJournal) while calling
> AbstractJournal.unlock() -> doUnlock() the internal rwLock will never be released.
--
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