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.

Bug 222692 - IDE communicates with GlassFish on AWT-thread
Summary: IDE communicates with GlassFish on AWT-thread
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords: PERFORMANCE, THREAD, USABILITY
Depends on:
Blocks:
 
Reported: 2012-11-24 15:10 UTC by Marian Petras
Modified: 2013-04-17 14:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (63.28 KB, text/plain)
2012-11-24 15:10 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2012-11-24 15:10:40 UTC
It seems that the IDE communicates with the GlassFish server on the AWT-thread. Whenever I try to do anything with the node representing the GlassFish server (display context menu, expand), the IDE hangs for 30 seconds.

Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

GlassFish 3.1.2.2
Comment 1 Marian Petras 2012-11-24 15:10:46 UTC
Created attachment 128342 [details]
IDE log
Comment 2 TomasKraus 2012-11-26 15:15:36 UTC
We know about this. Bug# 215098 is caused by the same problem.
This is targeted to be fixed in next release.
Comment 3 TomasKraus 2013-04-17 14:49:05 UTC
I removed server status checks from UI actions in 7.3.1 with switching admin commands to GlassFish Tooling Library.

INFO [glassfish]: Administration command version timed out on GlassFish Server 3.1.2.2 while port 4848 is alive. Have you run the enable-secure-admin command?
INFO [glassfish]: Version task failed: TIMEOUT
INFO [glassfish]: Version task failed: TIMEOUT
INFO [glassfish]: Administration command version timed out on GlassFish Server 3.1.2.2 while port 4848 is alive. Have you run the enable-secure-admin command?
INFO [glassfish]: Version task failed: TIMEOUT
INFO [glassfish]: Version task failed: TIMEOUT
WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.sampler.InternalSampler@79bb6af

Situation like this should not be happening now.

There are still some remote admin commands called from AWT-thread but not version and __location which are part of server status check.

I'm closing this issue as fixed to lower amount of opened bugs. there are other 3 bugs covering other commands.