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 203669 - [71cat] Re: Not able to register GlassFish on Windows 7
Summary: [71cat] Re: Not able to register GlassFish on Windows 7
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 17:19 UTC by mago_ebon
Modified: 2011-11-23 15:29 UTC (History)
4 users (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 mago_ebon 2011-10-13 17:19:09 UTC
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.
Comment 1 Petr Jiricka 2011-10-14 07:47:35 UTC
Probably a GlassFish plugin problem.
Comment 2 Vince Kraemer 2011-10-17 19:11:05 UTC
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...
Comment 3 Quality Engineering 2011-10-18 14:13:27 UTC
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
Comment 4 Vince Kraemer 2011-10-18 15:56:56 UTC
in the build