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 162759 - [67cat] [j2ee] Glassfish V2.1 conflicts during installation
Summary: [67cat] [j2ee] Glassfish V2.1 conflicts during installation
Status: RESOLVED INVALID
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 20:30 UTC by esmithbss
Modified: 2009-06-30 06:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-04-15 20:30:29 UTC
[ BUILD # : 200904150201 ]
[ JDK VERSION : 1.6.* ]

I have 6.5.1 installed with GF-2 and GF-3 and OpenESB-2.  During
installation, the GF-3 and OpenESB-2 locations are identified
properly; however, the GF v2.1 from 6.7 is an upgrade over the GF v2
from 6.5.1 so the system properly registers the GF version as
different and needing to be installed.

Unfortunately, the system tries to install it into the same location
as the existing GF-2 version.  The only indication of the problem is
a string at the bottom of the wizard that says the folder is not
empty.

Either a larger, more prominent message needs to be displayed
indicating the folder contains an existing Glassfish Installation, or
the user should be prompted for a new folder in a meaningful way, or
the system should offer to update/upgrade the existing installation.
Comment 1 dlipin 2009-04-16 16:09:48 UTC
I can`t reproduce the issue, the GlassFish V2.1 is marked as installed if you run the latest daily build with 6.5.1 
installed (which also includes the GlassFish V2.1). Maybe you`ve removed the installer usedir (~/.nbi)?

Comment 2 esmithbss 2009-06-29 20:46:35 UTC
I just downloaded and installed Glassfish-v2.1 and Glassfish-v3-prelude.  Immediately following this, launched each
Glassfish instance (asadmin start-domain) and stopped each instance (asadmin stop-domain) to ensure any home folder
files like .asadminpass and .asadmintruststore were created.

I then downloaded the NetBeans 6.7 Final (Full Distro) and tried to install it.  The NetBeans Installer is not seeing
the Glassfish Instances and is trying to install both again.

**** I thought we had fixed this during 67cat when the installer correctly identified pre-existing installations of both
Servers. ****

I disabled the different versions of Glassfish in the installer config and continued to install NetBeans 6.7 Final.

Upon completion, I launched NetBeans 6.7, skipped the import of 6.5.1 settings (to have a clean userdir), and went to
activate features.
Selected all features and clicked Activate.

Then opened the Services window and under Servers, only WEBrick is listed.

Previously, I would have the existing Glassfish servers listed as well.
Comment 3 dlipin 2009-06-30 06:42:08 UTC
6.5.1 contains community distribution of GlassFish v2.1 and v3 prelude (b28c).
6.7 contains Sun distribution of GlassFish v2.1 which is different from community glassfish v2.1 that`s why it is 
treated as not (initially) installed. The same for v3 (in 6.5.1 - community, in 6.7 - Sun`s one, moreover it is new 
build - b28e). 

As for importing settings - please file separate issue (ide/Import Settings with CC-ing issues@serverplugins), it is 
not related to this one.