Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
framework-3.0.2
-
None
Description
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.