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 66672 - Bad refresh of servers node when running
Summary: Bad refresh of servers node when running
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 04:33 UTC by _ ludo
Modified: 2005-10-14 06:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ ludo 2005-10-13 04:33:10 UTC
From netbeans feedback:
"When you add a SJAS instance via the Runtime tab, and that app server happens
to be up and running, you don't see that in the display, and the context menu
offers to start the instance. It's necessary to "Refresh" first in the context menu.

Surely when an app server is added, we should be doing the "Refresh" as part of
the process. "

In fact, an equivalent of refresh should be called whenever the user clicks on
the "+" sign of the node. This is not done.
This is annoying for remote servers, as well as alreay running local servers.
Comment 1 _ ludo 2005-10-13 18:16:45 UTC
A fix could be done at the plugin level (call refresh when we detect the
transition of a running state.
This would work for AS servers
Comment 2 _ ludo 2005-10-14 06:02:58 UTC
I've done the fix at on the plugin side.

/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/dm/SunDeploymentManager.java,v
 <--  SunDeploymentManager.java
new revision: 1.18; previous revision: 1.17
done
IDE: [10/13/05 10:02 PM] Commiting finished