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.
When I installed NetBeans I selected that it should use my pre-installed version of GlassFish and Apache Tomcat. When uninstalling it asks if it should removed the runtimes for GlassFish and Apache Tomcat. The uninstaller dialogue was not clear about what exactly was going to be uninstalled. I did select for it to uninstall both GlassFish and Apache Tomcat but it didn't remove my pre-installed version of either software (which I don't think it should either!). It could be made more clear about which installation of the application server it will try to uninstall (by also providing the path to the application servers for example).
Created attachment 51060 [details] Unclear about whether it will uninstall my pre-installed version of GlassFish
Jano, what is the best solution of this problem?
When a server has not been installed (using a pre-installed server), the dialogue should not even be displayed as it doesn't remove anything anyway. Also, if the path of the server that it would be uninstallation is visible in the dialogue that would give a hint about what will actually be removed (some people have multiple application server installations).
When a server has not been installed (using a pre-installed server), the dialogue should not even be displayed as it doesn't remove anything anyway. Also, if the path of the server that it would be uninstalling is visible in the dialogue that would give a hint about what will actually be removed (some people have multiple application server installations).
If GlassFish or Tomcat wasn't installer together with NB, then the NB uninstaller should not offer to uninstall it.
Now installer offers only those GlassFish/Tomcat that were installed using the NetBeans 6.0 Installer (during one or different installation sessions) and that are integrated with the current netbeans IDE using special system properties in <nbdir>/etc/netbeans.conf.
So then I don't understand what the reporter meant by: "When I installed NetBeans I selected that it should use my pre-installed version of GlassFish and Apache Tomcat." How's that possible?
If I am not mistaken, it can be done in the following way (for example): Install NetBeans 6.0 M10 (with Tomcat 6.0.13 and GlassFish b53) Uninstall NetBeans 6.0 M10 (leave Tomcat and GlassFish on the disk) Install latest daily (javaee) without GlassFish and Tomcat : as the result the "pre-installed" Tomcat6.0.13 and GFb53 will be integrated with this NetBeans IDE. Run uninstaller for this latest daily. And get the situation described at the beginning of the issue...
If that's the scenario, then I think it's okay to ask for uninstalling GlassFish and Tomcat again (in the latest daily uninstaller). You should show the GlassFish/Tomcat version number so that there's no confusion.
I believe it is the scenario described by dlipin on Wed Oct 17 12:24:30 +0000 2007. Since I've had multiple installations of NetBeans 6.0 on my machine the old configuration was probably picked up. However, I still think the uninstall dialogue for misleading as I was assuming that it was refering to the application servers that I had selected when I installed NetBeans. This leads me to another thing which probably needs a separate issue - when uninstalling it should offer to remove the settings in the user directory.
Have you remove %USERPROFILE%/.nbi directory by chance? If you really did that then your scenario can really occur. It is also possible that this issue is result of Issue 115451. Probably the %USERPROFILE%/.nbi/registry.xml file is corrupted (wrong xml or even zero in bytes) - in that case the situation you described can occur. Was there a warning shown at the beginning of uninstallation (or installation) that said the following: > The local registry (%USERPROFILE%/.nbi/registry.xml) could not be loaded, or was loaded partially. > The installer can continue to work normally, but doing so may result in a corrupted global registry. > Choose Yes to continue, No to exit the installer. ?
No, there was no warning. As I mentioned in the previous post - I forgot to clear my %USERDIR% prior to installing the latest build.
please ignore my previous comment ("Have you remove %USERPROFILE%/.nbi directory by chance?..."), it was for another issue...
Assigned to new owner.