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 126415 - Glassfish not visible under Servers node when reinstalled to different location
Summary: Glassfish not visible under Servers node when reinstalled to different location
Status: RESOLVED DUPLICATE of bug 144222
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 127333 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-31 17:24 UTC by Mikhail Kondratyev
Modified: 2008-08-22 18:30 UTC (History)
2 users (show)

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 Mikhail Kondratyev 2008-01-31 17:24:02 UTC
Tested with 6.0.1 FCS build

Steps to reproduce:
 - install NetBeans+GlassFish
 - start Nb, start GF from NB
 - stop GF, close NB
 - uninstall NB and GF
 - reinstall NB and GF, but install GF to a different location
 - start NB

There will be no GF under the servers node in the services tab

Workaround: 
 - close NB
 - delete NB user dir
 - restart NB, GF will be present
Comment 1 dlipin 2008-01-31 18:22:55 UTC
I can propose the simpler scenario:

Steps to reproduce:
 - install NetBeans+GlassFish
 - start Nb, open service tab and expand Servers node (to see GlassFish is there)
 - close NB
 - uninstall NB and GF
 - reinstall NB and GF, but install GF to a different location
 - start NB

There will be no GF under the servers node in the services tab

Workaround: 
 - close NB
 - delete <nbuserdir>/config/J2EE/InstalledServers/.nbattrs or just delete <fileobject name="instance"> part that 
corresponded to the previous (that was uninstalled) location of glassfish
 - restart NB, GF will be present

I stress that the issue is that even though com.sun.aas.installRoot system property is set in netbeans_default_options 
to correct location, this instance does not appear in the IDE if the previous instance (registered in that .nbattrs) 
was not removed.
Comment 2 Vince Kraemer 2008-02-01 22:30:55 UTC
this is a corner case...
Comment 3 dlipin 2008-02-13 20:44:51 UTC
*** Issue 127333 has been marked as a duplicate of this issue. ***
Comment 4 Nitya Doraisamy 2008-08-22 18:30:12 UTC
This issue occurs when when user moves from 6.1 to 6.5 and imports settings.
See Issue 144222

*** This issue has been marked as a duplicate of 144222 ***