You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/09/20 22:59:34 UTC
[jira] Resolved: (FELIX-2598) Hang in Felix: thread owing a bundle
lock waits for ever to lock it again
[ https://issues.apache.org/jira/browse/FELIX-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-2598.
------------------------------------
Resolution: Fixed
Committed a fix for this, please close if you are satisfied. Thanks.
> 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.0.3
>
> Attachments: hang.txt
>
>
> 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.