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.
A Glassfish distribution built from source code located at https://svn.java.net/svn/glassfish~svn/trunk/main/ is not recognized by NetBeans Add Server feature. The distribution is located at $GF_SRC/appserver/distributions/glassfish/target/stage/glassfish4. My working copy of Glassfish is in 63845 revision. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1 Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb) User directory: /Users/petr/Library/Application Support/NetBeans/8.0 Cache directory: /Users/petr/Library/Caches/NetBeans/8.0
Even does not work in development version. Product Version: NetBeans IDE Dev (Build 20150417-68b3d37d2831) Updates: Updates available Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Mac OS X version 10.10.3 running on x86_64; UTF-8; en_US (nb) User directory: /Users/petr/Library/Application Support/NetBeans/dev Cache directory: /Users/petr/Library/Caches/NetBeans/dev
FYI: I had the same issue. I have found a workaround you can use until this gets fixed: In /glassfish/lib/install/applications/__admingui/WEB-INF/lib link (or copy) console-core-4.2-SNAPSHOT.jar to console-core-4.1.jar. After that netbeans is able to find the JAR file and add Glassfish nightly as a Glassfish 4.1 server. Hope this helps.
*** This bug has been marked as a duplicate of bug 253008 ***