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 194632 - can't change default domain name in GlassFish 3.1
Summary: can't change default domain name in GlassFish 3.1
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 19:06 UTC by gholmer
Modified: 2011-01-27 20:43 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 gholmer 2011-01-23 19:06:26 UTC
[ BUILD # : 201101230001 ]
[ JDK VERSION : 1.6.23 ]

1) install of NB 7.0 with GlassFish 3.1
2) asadmin delete-domain domain1
3) asadmin create-domain orac
4) delete default instance from servers node of Services tab
5) create new node with name "GlassFish (orac)":  domain "orac" is recognized
and node is created
6) new node can be started and JDBC pools created from admin console on 4848
appear normally
7) restart NetBeans
8) node now has original name of "GlassFish Server 3.1" and properties refer to
"domain1"
Comment 1 Vince Kraemer 2011-01-24 20:08:08 UTC
Should step 7 say Start or Restart?

If it is Restart... when did you start NB after the install? between step 1 and 2? between step 3 and 4?
Comment 2 gholmer 2011-01-25 11:36:20 UTC
Done again from scratch:
1) clean install of 201101250001 w/GF b38 in /mnt/common/glassfish-3.1-b38
2) before first start of NB: asadmin delete-domain domain1
3) asadmin create-domain orac
4) start NB for the first time, clean userdir, no settings import
5) in Services tab is a Servers node for GF with the correct domains folder but domain name of domain1
6) right-click server node, select "remove"
7) create new server node "GlassFish 3.1 (orac)"
8) when specifying location, domain "orac" is recognized
9) right-click server and select "start", no error, can be accessed on port 4848
10) restart NetBeans
11) server node now reads "GlassFish Server 3.1", domain name is domain1
12) server will not start (domain.xml missing or corrupt)
13) try to repeat step 7; domain "orac" is recognized but gives error "Domain orac is already registered for this installation."
Comment 3 Vince Kraemer 2011-01-25 15:18:41 UTC
thanks for the detailed steps.

it looks like there are actually a couple issues here.

There should not be a node visible at step 5 AND there should be a startable node named orac at step 12.
Comment 4 Quality Engineering 2011-01-27 08:09:07 UTC
Integrated into 'main-golden', will be available in build *201101270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5e3095211c69
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #194632 : deleted auto registered domain reappears
Comment 5 gholmer 2011-01-27 14:31:29 UTC
Verified fixed in Hudson build 6548, thanks.
Comment 6 Quality Engineering 2011-01-27 20:43:12 UTC
Integrated into 'main-golden', will be available in build *201101271430* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5e3095211c69
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #194632 : deleted auto registered domain reappears