I have seen similar deadlocks involving logging code. e.g., see:
http://java.net/jira/browse/GLASSFISH-13232
It was later on closed as a duplicate of:
http://java.net/jira/browse/GLASSFISH-13877
The latter bug is fixed, but I think the root cause is not fixed.
Looking at your stack trace, I see some logging level has been set to
FINE or higher. Can you try resetting them to INFO? That may just avoid
the problem. If it does, you may like to reopen 13877.
Thanks,
Sahoo
On Tuesday 03 May 2011 04:43 PM, forums_at_java.net wrote:
> Hi,
>
> I am using glassfish3.1 GA build with felix. If I remove temporary files
> (from generated and osgi-cache folders) and start a server, I get a
> deadlock
> (the log is attached below).