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.
Versions -------------------------------------------------------------------- >System Info: Product Version = NetBeans IDE 6.7 RC3 (Build 200906142201) Operating System = Windows Vista version 6.0 running on amd64 Java; VM; Vendor = 1.6.0_14; Java HotSpot(TM) 64-Bit Server VM 14.0-b16; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_14-b08 Java Home = C:\Program Files\Java\jdk1.6.0_14\jre System Locale; Encoding = de_DE (nb); Cp1252 Home Directory = C:\Users\tw Current Directory = C:\Program Files\Java\NetBeans 6.7 RC3 User Directory = C:\Users\tw\.netbeans\6.7rc3 --> This is on a German Windows Vista Ultimate x64 running the 64 bit JDK 1.6.0_14. No 32 bit JDK is installed. It was tested in a brand new and clean virtual machine. Observed behavior ----------------- When NB 6.7 RC3 is installed under Vista x64, started and the Java & EE module is activated for the first time the creation of the Glassfish v3 prelude domain fails. The reasons seems to be that the keytool of the JDK is not found and that the directory <userdir>\.netbeans\6.7rc3 already exists. Actually the folder for the domain is created but it is unclear to me which state it is in afterwards. The 64 bit JDK is installed normally using all defaults and the keytool.exe is also there. Note, the error occurs only under Vista 64-bit. It does not occur when installing NB 6.7 RC3 under XP 32-bit. I have not tested Vista 32-bit. Expected behavior ----------------------------------------------------------------------------------------- The creation of the Glassfish v3 prelude domain should proceed without error. Steps to reproduce ----------------------------------------------------------------------------------------- --> Install fresh Netbeans 6.7 RC3, no options are changed, no old settings are imported --> File --> New Project --> Java Web --> Web Application --> Next ==> the message "Activating Java Web & EE" appears ==> in the Output window several messages are printed indicating that generating of a self-signed certificate failed and that Javas "keytool" wasn't found: ''Cannot run program "keytool": CreateProcess error=2, The System cannot find the specified file'' (see screenshot 1) ==> the Output windows is cleared and another group of errors is printed: ''Running the create-domain subcommand CLI130 Domain creation failed, Glassfishv3PreludeDomain Domain Glassfishv3PreludeDomain does already exist in C:\Users\tw\.netbeans\6.7rc3. Use another domain name or use the --domaindir option.'' (see screenshot 2) Note, my Vista is in German. I have translated the error messages to English. The English messages are probably slightly different.
Created attachment 84102 [details] Screenshot 1
Created attachment 84103 [details] Screenshot 2
The fastest way to work-around this is to change where you install the server... which will prevent the IDE from attempting to create a domain. I often install the servers in c:\Sun, which helps avoid the complications introduced by Windows UAC... Does that mean that this isn't a bug??? no. But it does mean that you may be able to make progress while we attempt to resolve this in NB 6.8.
Bad news. I have heard that Vista x64 is not a supported configuration for v3 Prelude. I am double checking this.
Well, this problem does not occur with NB 6.5.1 under Vista x64. Only with 6.7. Also this is the reason I believe that it is not related to UAC. But I will make some additional tests using different installation folders.
I confirmed that v3 Prelude is not 'supported' on Vista x64 and the 64 bit JDK/VM... So, I have close this as WONTFIX. Please reopen this issue if you can reproduce it with nightly builds of NB 6.8 and GF v3 'final' with Vista x64 and the 64 bit JDK/VM... that configuration is expected to work, though it won't get extensive testing.