tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ehaw...@sonicwall.com>
Subject RE: Silent install of tomcat 4.1.31 on windows fails
Date Thu, 03 Aug 2006 23:46:15 GMT
Hi Mark, 

Thanks for letting me know.  

I am trying to work around the problem with tomcat 
not appearing in the list of programs in 
Windows Control Panel Add or Remove Programs.  

What I tried is explained below.  However, it isn't 
completely successful.  I think the problem has 
something to do with tomcat running as a service.  
Details follow: 


Here are the applicable knowledge base articles for 
adding or removing uninstallers to the 
Windows Control Panel Add or Remove Programs. 

Windows XP
http://support.microsoft.com/kb/314481

Windows 2000 Server (seems to be the same reg keys)
http://support.microsoft.com/kb/247501 

I added three registry keys in 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\A
pache Tomcat 4.1 

(Default)           (value not set) 
DisplayName         Apache Tomcat 4.1 (remove only) 
UninstallString     <full path to the tomcat uninstall .exe file>

After adding these registry keys, Apache Tomcat appeared 
in the Windows Control Panel Add or Remove Programs list.  
Choosing it did run the tomcat uninstaller, but it was 
not really successful in uninstalling tomcat.  
 
The uninstaller could not remove the tomcat root directory, 
and left about half the subdirectories inside.  It did remove 
the files in the tomcat root directory, including the 
uninstaller, though. :-(  After the uninstall finished, the 
tomcat service was still running. 

Stopping the tomcat service and deleting the tomcat directory 
by hand did not finish the job.  After rebooting, the tomcat 
service was still running.  I had to reinstall tomcat (making 
sure to install it as a service) and then uninstall it by 
double-clicking the uninstaller exe. 

I wonder if this has something to do with the fact that I 
don't install tomcat as a service?  After tomcat has been 
installed, our installer runs the tomcat.exe (Alexandria 
Software Consulting) to make it into a service.  

If this sounds plausible, can you tell me how the tomcat 
uninstaller knows that tomcat is running as a service, and 
what it does to deal with that?  Perhaps I can still fix 
this up myself.  

Thanks, 

Eric 



-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Wednesday, August 02, 2006 8:34 PM
To: Tomcat Users List
Subject: Re: Silent install of tomcat 4.1.31 on windows fails

ehawkes@sonicwall.com wrote:
> Hi, 
> 
> Thanks for the confirmation.  I also tested with 
> 4.1.32 beta and had the same experience.  
> 
> I filed bug 40171 about this issue. 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=40171 
> 
> I'm new to this list.  Is there much likelihood of 
> this getting fixed post-beta for 4.1.32, or is the beta 
> really considered the release candidate? 
> 
> Thanks, 
> 
> Eric 

The fix is in progress and will be included in the 4.1.33 release. I
don't have any plans for a 4.1.33 release at the moment. When I get
around to calling the stability vote for 4.1.32 I don't as yet see any
reason for it not to be stable. Others may, of course, have other
views - that is why we vote ;)

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message