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 33365 - Added server instance is not displayed
Summary: Added server instance is not displayed
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ gfink
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-02 13:54 UTC by _ rkubacki
Modified: 2006-06-05 00:39 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 _ rkubacki 2003-05-02 13:54:05 UTC
projecs build with Tomcat plugin

I use add new server instance action to add server
instance with URI recognize by my plugin but it is
not visible in registry until the IDE is restarted
Comment 1 _ gfink 2003-05-12 19:32:29 UTC
I couldn't reproduce, I just built and ran, and added tomcat instance
with url:

tomcat:home=/gfink/jakarta-tomcat-5:http://joseph:8080/manager/

and the node was added.

Comment 2 _ rkubacki 2003-05-13 15:25:31 UTC
I can reproduce on my *project* build every time when I try it. Also
Pavel Buzek confirmed this.
Comment 3 _ rkubacki 2003-05-19 15:39:03 UTC
Possible causes:
- Listening on FileObject that is garbage collected.

- ServerRegistryNode attaches InstanceListeners only to instance of
known servers. When Server is added no new listeners is attached.

- instance (FileObject) created but attributes not set yet
Comment 4 _ gfink 2003-06-02 20:50:55 UTC
some synchronization problem probably (bug seemed to be
primarily windoze, could reproduce 100% there but not on
solaris)

Fixed by:

Add instances to the UI first before adding to disk.