I don't have the service.bat in the bin folder so from another Jakarta Tomcat 
zip file. When I did
D:\Tomcat5.5\bin>service.bat remove
The service 'Tomcat5' has been removed
 
I still find the windows service, but its seems to have changed to 'Disabled' 
(not sure what it was before)
After that, the install command fails:
 
D:\Tomcat5.5\bin>service.bat install
[2010-07-13 22:14:53] [410  prunsrv.c] [error]
The system cannot find the file specified.
[2010-07-13 22:14:53] [1269 prunsrv.c] [error]
Load configuration failed
[2010-07-13 22:14:53] [410  prunsrv.c] [error]
The system cannot find the file specified.
[2010-07-13 22:14:53] [1269 prunsrv.c] [error]
Load configuration failed
The service 'Tomcat5' has been installed


It is far better to grasp the universe as it really is than to persist in 
delusion, however satisfying and reassuring.

--- On Tue, 13/7/10, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote:


From: Caldarale, Charles R <chuck.caldar...@unisys.com>
Subject: RE: Tomcat not working after moving installation folder
To: "Tomcat Users List" <users@tomcat.apache.org>
Date: Tuesday, 13 July, 2010, 9:08 PM


> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat not working after moving installation folder
> 
> Actually, CATALINA_HOME is used, it's just set in the registry 
> instead of as a environment variable.

The point is the _environment variable_ is NOT used when running Tomcat as a 
Windows service - the registry entry is.  The environment variable does come 
into play when _installing_ the service.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Reply via email to