After installing tomcat (any version) on windows 7 (also in vista i guess) , you will see this error when you restart the system .
Application System Error
Access is Denied.
Unable to open the service 'Tomcat6'
This error is confusing at first because it says "service" . Users will think there is some problem with the tomcat service . But this error is related to the Tomcat Monitor (tomcat6w.exe) and User Account Control (UAC) in windows.
You can fix this issue in 2 ways
1. disable UAC altogether . (not recommended [ i don't have enough knowledge on UAC :-) ] )
2. this is a better approach . in this we are allowing the program to run as administrator always .
go to
right click on tomcat6w.exe,
select Properties
select the Compatibility tab.
Under Privilege Level, select Run this program as an administrator,
click OK.
reference : http://technet.microsoft.com/en-us/library/cc709691(WS.10).aspx#BKMK_S2
hope this helps someone.
works like a charm in Windows7! Thank you.
ReplyDeleteAs per my experience i think your server just excess by admin so try to these steps.......
Deletei m sure your problem will be solved
Follow these steps
step 1: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin
Step 2: now right click in bin folder
step 3: select properties
step 4: select sharing tab
step 5: click on Advance sharing
step 6: click on top most check box (share this folder )
and the apply -> Ok
Now start your server and check your problem has been resolved or not.....
Hey thanks The other way i.e run as admin worked for me thnk u
ReplyDeletehi when i start tomcat server in eclipse indigo some errors are coming after that automatically its going to stop im getting error like some ports are already using i given other port numbers that time also same thing im getting can plz tell me some solution for this problem
ReplyDeleteim using windows 7-64bit
tomcat 6
Yes it helps ! thanks you !
ReplyDeletethanks a lot
ReplyDeleteThanks Rajasekharan.
ReplyDeletethanks. this article is very useful. my problem is solved
ReplyDeleteThank u :)
ReplyDeleteworks on server 2008 as well, thanks
ReplyDeleteTHX!!!!
ReplyDeletegr8 thnks
ReplyDeletethanks!!
ReplyDeleteThis has been bugging me for months and now it is gone. Thanks.
ReplyDeleteMuchas Gracias Funcionó Saludos.
ReplyDeleteThanks a lot of.. ;)
Thank You and I have a nifty present: What House Renovations Can You Claim On Tax split level home additions
ReplyDelete