You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Feng Fan <ff...@tibco.com> on 2010/05/25 16:40:12 UTC

on Windows 7, i can't use service.bat to install windows service, tried both 6.0.24 and 6.0.26

Hi,

I found that I can't use service.bat to install tomcat as a service on
Windows 7. However tomcat's Windows EXE installer still works
successfully. I tried both 6.0.24 and 6.0.26. 

 

Do you know if there is a fix to service.bat? I want to install our web
applications as a Service, so I can't just use the default tomcat EXE
installer. 

 

Thanks.

-Feng


RE: on Windows 7, i can't use service.bat to install windows service, tried both 6.0.24 and 6.0.26

Posted by Feng Fan <ff...@tibco.com>.
"Run as Administrator" -- That solved my problem on Windows 7, thanks!

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, May 25, 2010 10:46 AM
To: Tomcat Users List
Subject: RE: on Windows 7, i can't use service.bat to install windows
service, tried both 6.0.24 and 6.0.26

> From: Feng Fan [mailto:ffan@tibco.com]
> Subject: on Windows 7, i can't use service.bat to install windows
> service, tried both 6.0.24 and 6.0.26
> 
> I found that I can't use service.bat to install tomcat as 
> a service on Windows 7.

Welcome to UAC.  You have to run service.bat from a command prompt
that's started with "Run as Administrator", even if your normal account
has administrator privileges.  Right-click on a Command Prompt icon and
you'll see it in the menu.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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


RE: on Windows 7, i can't use service.bat to install windows service, tried both 6.0.24 and 6.0.26

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Feng Fan [mailto:ffan@tibco.com]
> Subject: on Windows 7, i can't use service.bat to install windows
> service, tried both 6.0.24 and 6.0.26
> 
> I found that I can't use service.bat to install tomcat as 
> a service on Windows 7.

Welcome to UAC.  You have to run service.bat from a command prompt that's started with "Run as Administrator", even if your normal account has administrator privileges.  Right-click on a Command Prompt icon and you'll see it in the menu.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org