tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Starting Tomcat 4 as an NT service
Date Wed, 10 Apr 2002 04:26:48 GMT
Well..., then you uninstalled a different service named "Apache 
Tomcat".  If you installed it as "Apache Tomcat", that's great.  However, 
if you copied the install script to the command line exactly as I wrote it, 
then the service would have been named "Apache-Catalina".  So, you will 
need to reference the name "Apache-Catalina" (quotes not necessary) to 
uninstall that service.

BTW, before you try uninstalling the service, make sure you do a few things 

1. Stop the Apache-Catalina service
2. Close the Services applet.  I have seen that error and I believe it was 
simply because I had that applet open.
3.  Not sure if this is necessary, but you might want to shut down Apache 
if it has mod_jk running.  This is probably not necessary, though.  Just 
thought I'd mention it to be safe.

It should work after that.


At 01:48 PM 4/27/2002 -0700, you wrote:
>On WinXP, I found I had to do
>%CATALINA_HOME%\bin\tomcat.exe -uninstall "Apache Tomcat"
>To uninstall the Tomcat Service.
>%CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina
>gave me a cryptic error about "overlapped i/o in progress" and didn't 
>remove the service.
>Jacob Kjome wrote:
>>Hello rsudama,
>>Just a note.  I've posted this answer twice before on this list.
>>Please search the archives because it *has* been answered and I gave
>>the solution in the email and didn't ask anyone to search anywhere for
>>the answer.  Anyway, here it is again:
>>I distilled the following from this article:
>>Assuming you have all your environment variables set, just copy+paste
>>the following to a command line...
>>To Install Catalina Service:
>>%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina 
>>-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start 
>>org.apache.catalina.startup.Bootstrap -params start -stop 
>>org.apache.catalina.startup.Bootstrap -params stop -out 
>>To Uninstall Catalina Service:
>>%CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina
>>Now, check in your Services applet and the "Apache-Catalina" service
>>should be there.
>>Tuesday, April 09, 2002, 2:08:10 PM, you wrote:
>>roc> Yes, I understand perfectly well that it's an option in the 
>>installer. I'm
>>roc> trying to find out where the documentation are sources are for this 
>>tool that is
>>roc> included as part of the "open source" distribution. If there's some 
>>reasons for
>>roc> not distributing the sources for the tool itself (or how about the 
>>whole install
>>roc> program?) that's fine, but it would be nice if there was at least some
>>roc> documentation on its use. As far as I can tell, the general attitude 
>>of the
>>roc> Tomcat community on this is "we've figured out a way to get this 
>>done, and
>>roc> here's a bunch of pointers to places where you can figure it our for 
>>roc> I already have other tools that can do this if I need to, but since 
>>a perfectly
>>roc> good tool has already been developed by someone I'd rather use that 
>>if it's
>>roc> possible.
>>roc> - Ram
>>roc> on 04/09/2002 01:22:22 PM
>>roc> Please respond to "Tomcat Users List" <>
>>roc>  To:      "'Tomcat Users List'"
>>roc>           <>
>>roc>  cc:      (bcc: Ram Sudama/ON Technology)
>>roc>  Subject: RE: Starting Tomcat 4 as an NT service
>>>>service. However, no one has seemed to address how Tomcat 4.0.3
>>roc> actually _is_
>>>>installed as an NT service.
>>roc> It is now included as an option in the installer.
>>roc> - tex
>>roc> --
>>roc> To unsubscribe:   <>
>>roc> For additional commands: <>
>>roc> Troubles with the list: <>
>To unsubscribe:   <>
>For additional commands: <>
>Troubles with the list: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message