Hang in Felix: thread owing a bundle lock waits for ever to lock it again
-------------------------------------------------------------------------

                 Key: FELIX-2598
                 URL: https://issues.apache.org/jira/browse/FELIX-2598
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-3.0.2
            Reporter: Sahoo
            Assignee: Richard S. Hall
             Fix For: framework-3.2.0


In GlassFish, I detected a hang. PFA jstack output. The scenario happens like 
this:

a) I updated a bundle using telnet console. This thread is holding the bundle 
lock.
b) Upon receiving the UPDATED event, one of our extenders bundle enhances the 
bundle and calls PackageAdmin.refreshPackages(bundle).
c) PackageAdmin thread holds the global lock and tries to hold the bundle lock, 
which is currently held by telnetconsole thread.
d) telnetconsole thread is waiting indefinitely to obtain the bundle lock.

-- 
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