Potential Deadlock while registering/unregistering ResourceProvider
-------------------------------------------------------------------

                 Key: SLING-1736
                 URL: https://issues.apache.org/jira/browse/SLING-1736
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Resource 2.0.8
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
            Priority: Blocker
             Fix For: JCR Resource 2.0.8


Upon registration and unregistration of new resource providers EventAdmin 
events are posted to inform interested parties of added and removed resource 
providers. Unfortunately these events are posted inside a synchronized(this) 
block, which may lead to deadlock situations.

The solution (and right thing to do) is to post the events with the EventAdmin 
service outside of a synchronized block.

I consider this a critical issue which blocks the next release of this module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to