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 237015 - JavaEE distribution installer shows warning message "Unable to retrieve version of GlassFish server..."
Summary: JavaEE distribution installer shows warning message "Unable to retrieve versi...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: TomasKraus
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-10-11 08:54 UTC by Vladimir Riha
Modified: 2013-10-13 11:08 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log from installation (46.02 KB, application/octet-stream)
2013-10-11 08:54 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-10-11 08:54:27 UTC
Created attachment 141002 [details]
IDE log from installation

To reproduce, please try to run NetBeans 7.4 JavaEE installer on Mac, installer shows warning dialog with text:

"Unable to retrieve version of GlassFish server instance GlassFish Server 4.0 installed in /Applications/NetBeans/glassfish-4.0/glassfish. Opening window with warning."


After confirming, the installation finishes OK, or at least it appears to. When I start IDE, GlassFish is registered and I was able to start it from IDE.


Mac OS X 10.8.5
JDK7u45 b18
Comment 1 TomasKraus 2013-10-11 13:43:11 UTC
Checked into releases to fix current problem with 7.4:
------------------------------------------------------
author:	Tomas Kraus <tomaskraus@netbeans.org>
branch:	release74
changeset: 273974:6523d6792981

Tested together with QA team.

TODO: Forward port into trunk
Comment 2 TomasKraus 2013-10-11 14:15:49 UTC
Checked into web-main:
----------------------
changeset:   265054:514ce450456b
tag:         tip
summary:     #237015 - Warning message is not shown when running with UI disabled

Forward port into trunk.

Issue is handled well in plugin but it would be great to have this fixed in installer too.
Comment 3 TomasKraus 2013-10-11 14:20:59 UTC
Jiri, I'm passing this bug to you and lowering to P3 because it's not a show stopper now.

Please modify mac scripts to unpack GlassFish before NetBeans is executed from installer.

Fixing it in trunk is ok, we already made workaround on plugin side for 7.4.
I did not push 265054:514ce450456b changeset yet so you may still see popup when common-util.jar does not exist from installer in trunk (will push this changeset later next week).
Comment 4 Marian Mirilovic 2013-10-11 15:50:30 UTC
Tomas, please close as fixed and open new bug for moving unpacking GF BEFORE silent start in installer. Thanks in advance.
Comment 5 Quality Engineering 2013-10-11 16:48:26 UTC
Integrated into 'releases/release74', will be available in build *201310111528* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6523d6792981
User: Tomas Kraus <tomaskraus@netbeans.org>
Log: #237015 - Do not show pop up window when running in installer
Comment 6 Tomas Danek 2013-10-12 10:58:24 UTC
verified on javaee installers of 7.4 build 201310111528
Comment 7 Vladimir Riha 2013-10-13 11:08:50 UTC
Thank you Tomas for verification.