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.
Product Version = NetBeans IDE Dev (Build 201307182300) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 When "Tools | Servers" is invoked for the first time, IDE becomes unresponsive for about half a minute, before the Server manager window finally shows up.
Created attachment 137440 [details] IDE log
Created attachment 137441 [details] snapshot
It's getServerState() from CommonServerSupport class. This is executing RequestProcessor.Task refresh(String expected, String unexpected) where GlassFishState.monitor(instance) was called. This monitor method may currently cause delay. I know about it. But it should not wait more than 5 seconds! private static final int INIT_MONITORING_TIMEOUT = 5000; ... synchronized (listener) { // Guard against spurious wakeup. while (!listener.isWakeUp() && (System.currentTimeMillis() - startTime < INIT_MONITORING_TIMEOUT)) { listener.wait( System.currentTimeMillis() - startTime); } So 26 seconds in Object.wait() is for sure wrong.
I already have fix in my environment.
Checked into web-main: ---------------------- changeset: 258602:39e85cde8e69 summary: #233061 - Freeze shall not be longer than 5 seconds, fixed bug in timeout counting
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/39e85cde8e69 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #233061 - Freeze shall not be longer than 5 seconds, fixed bug in timeout counting