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 233770 - Unable to register GlassFish 4.0.1 server
Summary: Unable to register GlassFish 4.0.1 server
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 11:36 UTC by Stepan Zebra
Modified: 2013-08-05 02:13 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 Stepan Zebra 2013-08-01 11:36:47 UTC
Product Version: NetBeans IDE Dev (Build 201307312300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b36
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

I run into this issue originally when investigating
http://netbeans.org/bugzilla/show_bug.cgi?id=231584#c7

I downloaded dev build of GlassFish 4.0.1 from
http://dlc.sun.com.edgesuite.net/glassfish/4.0.1/nightly/latest-glassfish.zip
but I am not able to register the server in NB.
Message "Not a valid GlassFish Server installation." is shown.
I found out that NB doesn't seems to like file
${GF4DIR}\glassfish\lib\install\applications\__admingui\WEB-INF\lib\console-core-4.0.1-SNAPSHOT.jar
If I try to rename the file to eg. console-core-4.0-SNAPSHOT.jar, the server can be registered in the IDE, but it is recognized as GF 4.0.
Comment 1 TomasKraus 2013-08-03 21:31:58 UTC
Unfortunately server is returning
    GlassFish Server Open Source Edition  4.0  (build 2)
from com.sun.appserv.server.util.Version#getFullVersion so netbeans plugin will evaluate it as 4.0.

I did some changes in ServerDetails class to accept current 4.0.1 server. It may need some additional changes before release after server will be finalized.

Checked into web-main:
----------------------
changeset:   260240:69addd53c1bb
summary:     #233770 - Unable to register GlassFish 4.0.1 server
Comment 2 TomasKraus 2013-08-03 22:37:13 UTC
Pushich changes into web-main, it should be possible to register 4.0.1 now.
Comment 3 Quality Engineering 2013-08-05 02:13:27 UTC
Integrated into 'main-silver', will be available in build *201308042300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/69addd53c1bb
User: Tomas Kraus <TomasKraus@netbeans.org>
Log: #233770 - Unable to register GlassFish 4.0.1 server