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 137627

Summary: strange re-register behavior.
Product: serverplugins Reporter: Vince Kraemer <vkraemer>
Component: GlassFishAssignee: _ pcw <pcw>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Vince Kraemer 2008-06-18 20:41:27 UTC
see note http://www.netbeans.org/issues/show_bug.cgi?id=137517#desc2

I would expect the 'add server' command to fail and inform the user "why", not rename an existing registered server.
Comment 1 _ pcw 2008-09-05 01:29:12 UTC
Server uri was being miscalculated in the wizard so it didn't know about the currently registered instance.  It wasn't
updated back pre-JavaOne when the packaging changed and installRoot and glassfishRoot became different folders.

Now, it will show an info messages indicating that the current (default) domain is registered and allows you to hit
<Next> to create a new domain or select a valid existing one.

I also fixed some additional minor bugs and generally cleaned things up in this commit.

Fixed in hudson build 3677.  For nightly build, wait for automated QA integration stamp.
Comment 3 Quality Engineering 2008-09-05 17:31:26 UTC
Integrated into 'main-golden', will be available in build *200809051401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a993af61e783
User: pcw@netbeans.org
Log: #137627 Attempting to register a server domain twice under two different names unexpectedly renamed the original instance instead of preventing the addtional registration.  Now blocks second registration but allows creating an additional domain on same bits.