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.
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.
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
Pushich changes into web-main, it should be possible to register 4.0.1 now.
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