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 129711 - Installer does not properly configure GlassFish install when bundled.
Summary: Installer does not properly configure GlassFish install when bundled.
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 22:51 UTC by _ pcw
Modified: 2008-03-11 13:06 UTC (History)
1 user (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 _ pcw 2008-03-10 22:51:25 UTC
The NetBeans 6.1 Beta bundles that include GlassFish (Web/JavaEE and ALL distributions) do not configure GlassFish
correctly.

Specifically, they do not perform a substitution for the line containing REGISTRATION_DIR="@REGISTRATION_DIR@" from
[gfroot]/updatecenter/config/ucenv.conf (or ucenv.BAT on Windows).  This should have been set to [gfroot]/lib/registration.

The value of JAVA_HOME was also self assigned (JAVA_HOME=$JAVA_HOME) which I also found questionable.

The problem with not setting REGISTRATION_DIR manifests as updatetool hanging at the command prompt with no feedback so
it is a very serious configuration problem.
Comment 1 dlipin 2008-03-11 12:17:29 UTC
> Specifically, they do not perform a substitution for the line containing REGISTRATION_DIR="@REGISTRATION_DIR@" from
> [gfroot]/updatecenter/config/ucenv.conf (or ucenv.BAT on Windows).  This should have been set to [gfroot]/lib/
registration.
Confirmed. I`ll fix that.


> The value of JAVA_HOME was also self assigned (JAVA_HOME=$JAVA_HOME) which I also found questionable.
I`ll fix it as well.
Comment 2 dlipin 2008-03-11 13:06:58 UTC
Fixed
http://hg.netbeans.org/main/rev/39d83adb42bc

pcw, please verify on the next daily build  (>200803120000)
http://bits.netbeans.org/download/trunk/nightly/latest/

thanks,
Dmitry