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 176588 - invalid installRoot makes a server disappear and other strangeness
Summary: invalid installRoot makes a server disappear and other strangeness
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 12:08 UTC by Vince Kraemer
Modified: 2009-11-11 14:00 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 Vince Kraemer 2009-11-11 12:08:08 UTC
if there is an invalid value set for the installRoot system property, the IDE can register an invalid server.

The user can create Rails apps that target this bogus server

This invalid server will be visible in the server list until the user restarts.

After restart, the registry is corrected... since the code that reads the registry does a better check of the validity of the installRoot and the glassfish root.

Any rails apps that target the bogus server will be orphaned...
Comment 1 Vince Kraemer 2009-11-11 14:00:01 UTC
http://hg.netbeans.org/web-main/rev/451da634dbd3