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.
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
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.
I can reproduce on my *project* build every time when I try it. Also Pavel Buzek confirmed this.
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
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.