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.
