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 74218

Summary: Delay between choosing valid server and removal of error
Product: serverplugins Reporter: Rochelle Raccah <raccah>
Component: Sun Appserver 9Assignee: Vince Kraemer <vkraemer>
Status: NEW ---    
Severity: blocker CC: issues, pjiricka
Priority: P4 Keywords: PERFORMANCE
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Rochelle Raccah 2006-03-30 22:12:00 UTC
On page 1 of the add server instance dialog, after I choose a valid glassfish
installation, there is a long delay before the error status message to choose a
valid installation disappears.  I wait for it to do so, because I know the
installation I pointed to is valid, but other users might not know that and try
to pick another installation.  I realize checking the installation might take
some time.  I recommend a (not red) message in the status line at that time like
"Checking installation....".  If it turns out to be valid, then the error
message will be gone at the end.  If it turns out to be invalid, the error
message can be put there once again.
Comment 1 Rochelle Raccah 2006-03-30 22:12:30 UTC
Sorry, I meant page 2 of the wizard.
Comment 2 Rochelle Raccah 2006-07-21 22:38:55 UTC
More info: The code to check the server ends up in
serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java
isValid where the error message property is (already) set to null before the
check, then set (back) to something else if it is indeed invalid.  The problem
is that the ui is not updated twice, only once, so all we see is the error
message the whole time.  However, the wizard descriptor framework is the one
which is responsible for repainting, etc., so it's not so straightforward to
force 2 updates.
Comment 3 Vince Kraemer 2006-09-11 19:15:23 UTC
no changes ready for check in today -- 5.5 code freeze
Comment 4 Vince Kraemer 2007-01-12 01:54:49 UTC
addressing this requires a registration wizard change... doable, but not for 6.0
Comment 5 Vince Kraemer 2008-10-17 23:56:53 UTC
I am lowering this to p5.  making a change to the v2 plugin is not a priority. the v3 plugin has a similar issue... but
it is not as obvious, since the "domain chooser" is on the next page, instead of being on the same page as the platform
location field.

Comment 6 Vince Kraemer 2008-12-24 21:58:22 UTC
examine after 7.0