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.
Steps as in test spec: 6) Web Project, 5) Supported Servers 1) registered a copy of GlassFish 3.1.2.2 at /usr/share/glassfish-3.1.2.2 2) right-clicked server in Services view and chose "Start in Profile Mode" 3) the following error message appeared in the server log: Invalid thread stack size: -Xss128k-XX:-UseLoopPredicate Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Note that the JVM arguments are invalid; there should be a space between "-Xss128k" and "-XX:-UseLoopPredicate".
I tried it on Linux and Windows (JDK7 and JDK8) and every time it works as expected. Could you find out whether invalid JVM arguments come from some GlassFish config file? Product Version: NetBeans IDE 8.0 (Build 201403101706) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b127 System: Linux version 3.2.0-33-generic running on i386; UTF-8; en_US (nb)
You are right, the invalid options were in my domain.xml. This was an old installation of GlassFish 3.1.2.2 that hadn't been started for a while. I should have verified that it was working before attempting to use it for testing.