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.
This is Windows 7 specific bug. I have NetBeans 7.0.1 installed before installing 7.1. This first installation does not include GlassFish in its server lists. Then, I install NetBeans 7.1 Beta including GlassFish and, when asked I choose to import the settings from the 7.0 version. As expected, there is no GlassFish instance in the server lists. When I try to register a GlassFish instance, then the wizard asks me to download and install a fresh new version of GlassFish. I click on the "Browse" button to reach the GlassFish directory. When I reach the directory, the setup wizard gives me a message that says: "C:\Program Files (x86)\glassfish-3.1.1 does not have a usable default domain.". The problem is overriden when I start my Netbeans using the "Run as administrator" option. Then, I am able to setup the GlassFish. After that moment, whenever I want to use GlassFish I have to run Netbeans as administrator or otherwise it will act erratically. I haven't even been able to close netbeans when GlassFish is running. A workaround is to always run Netbeans as administrator, but we have to remember that not everybody has administrative privileges in its working computer. Another workaround is to install GlassFish in a different directory other than <PROGRAM FILES>, but it's not the default option so only a few people will find it out.
Probably a GlassFish plugin problem.
This is a UI problem. I am making a couple small changes to the UI. First, the message is extended to folks learn that they should click Next. Second, the domain field on the 'Next' page gets a default value that will trigger the creation of a personal domain...
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/47295c86f2db User: Vince Kraemer <vkraemer@netbeans.org> Log: #203669 : better response to No Usable Domains situation needed
in the build