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 204727 - inability to register glassfish 3.1.1 domain
Summary: inability to register glassfish 3.1.1 domain
Status: RESOLVED DUPLICATE of bug 195554
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 01:06 UTC by darkos
Modified: 2011-11-07 06:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.nbattrs file from my NetBeans 7.1 beta installation. (2.82 KB, text/plain)
2011-11-07 01:06 UTC, darkos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkos 2011-11-07 01:06:17 UTC
Created attachment 112887 [details]
.nbattrs file from my NetBeans 7.1 beta installation.

I have already got domain1 and domain3 registered in NetBeans Services/Servers.

I want to add a new registration for an already existing domain2.

Having gotten to step 3 of the 'Add Server Instance' dialog, with the 'Register Local Domain' selected, the dropdown does correctly show 3 domains.

Selecting domain2 however continues to show the error message at the bottom of the right-hand panel:

'Domain domain2 is already registered for this installation'

which is not correct.

the 'next' and 'finish' buttons are not enabled, so I can not register this domain.

I have attached a copy of the .nbattrs file.
Comment 1 darkos 2011-11-07 04:24:07 UTC
further information: It appears that this issue was caused by the prior use of the option to create a new domain, and have this additional domain use the default settings, as one with the default settings had already been created.

this caused there to be two domains with the same admin port numbers in use, which seemingly netbeans does not like to deal with.

seems that NetBeans does not think that there should be able to be two distinct domains with the same management port numbers, but of course, this is actually something that glassfish is happy to do.

also, it appears now to be impossible to actually stipulate what the admin port on a new domain will be.

so: when creating a new domain with 'use default ports' enabled, the domain gets created, but, it's not added to NetBeans (presumedly because it has the same port numbers as one that's already registered).

and: when creating a new domain with 'use default ports' disabled, you have no control over the port numbers that will be used in creation of the new domain.

please can we change this to allow:

a) multiple domains with the same admin ports
b) ability to stipulate what the port numbers should be if using the defaults is disabled.
Comment 2 Vince Kraemer 2011-11-07 06:02:06 UTC

*** This bug has been marked as a duplicate of bug 195554 ***