This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 124504 [details] threaddump Another deadlock. Why is the initialization code (CommonServerSupport constructor) touching the server? It makes sense on user action (node expand, deploy) but not on IDE start.
I don't know. :) Anyway, there is a small nasty peace of code in CommonServerSupport constructor: if (!isRemote) { refresh(); } There is isReallyRunning() call in refresh which uses remote admin call to check server state. I'll try to remove it and we'll see how many things will get broken.
changeset: 232966:c99713155166 summary: #218526 - Removed (commented out) code causing deadlock. Will remove completely later. I can't do much more now.
I made one more change in Keyring access which was causing deadlocks. Whole properties Map was changed to use own locking and to call Keyring outside this locking. changeset: 233755:c3072ae1de1f summary: #218526 - Removed deadlock conditions in GlassFish instance properties Map I would like to ask for testing this very well because this change may cause some properties access issues. Methods values(), keySet() and entrySet() are returning unmodifiable collections because I was unable to handle locking there properly and this may cause some regressions if some code is trying to change map trough them.
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c99713155166 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #218526 - Removed (commented out) code causing deadlock. Will remove completely later.
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c3072ae1de1f User: Tomas Kraus <TomasKraus@netbeans.org> Log: #218526 - Removed deadlock conditions in GlassFish instance properties Map