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 194763 - Uninstaller doesn't uninstall tomcat
Summary: Uninstaller doesn't uninstall tomcat
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 08:43 UTC by Marian Mirilovic
Modified: 2011-01-28 06:04 UTC (History)
1 user (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 Marian Mirilovic 2011-01-27 08:43:57 UTC
Product Version: NetBeans IDE Dev (Build 201101250001)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-24-generic running on amd64; UTF-8; en_US (nb)

Steps to reproduce:
- install IDE together with GF & Tomcat
- uninstall IDE
-> the first panel doesn't provide you a chance to select Tomcat for uninstallation, only GF is on the list
-> tomcat is still installed after uninstallation completed
... this is regression, very probably caused by changes in version of bundled tomcat (works before and works for 6.9.1)
Comment 1 Yulia Novozhilova 2011-01-27 14:37:51 UTC
Looks like Tomcat weren't properly registered since there is no .nbattrs file
in nb/config/J2EE/InstalledServers after registration is completed. 
But according to installer log registration command was successful.
Investigating.

executing command: C:\Program Files (x86)\Java\jdk1.6.0_23\jre\bin\java.exe -cp
platform/core/core.jar;platform/lib/boot.jar;platform/lib/org-openide-modules.jar;platform/core/org-openide-filesystems.jar;platform/lib/org-openide-util.jar;platform/lib/org-openide-util-lookup.jar;enterprise/modules/org-netbeans-modules-j2eeapis.jar;enterprise/modules/org-netbeans-modules-j2eeserver.jar;enterprise/modules/org-netbeans-modules-tomcat5.jar
org.netbeans.modules.tomcat5.registration.AutomaticRegistration --add
C:\Program Files (x86)\NetBeans Dev 201101250001\nb C:\Program Files
(x86)\Apache Software Foundation\Apache Tomcat 7.0.6, in directory: C:\Program
Files (x86)\NetBeans Dev 201101250001
[return]: 0
Comment 2 Yulia Novozhilova 2011-01-27 16:13:26 UTC
Should be fixed now: http://hg.netbeans.org/main/rev/f0008d2f4140
Comment 3 Quality Engineering 2011-01-28 06:04:50 UTC
Integrated into 'main-golden', will be available in build *201101280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f0008d2f4140
User: Yulia Novozhilova <ynov@netbeans.org>
Log: Fix #194763 -  Uninstaller doesn't uninstall tomcat