Friday 6 July 2012

Tomcat-7 Service Cannot Start on Windows 7


Though the same error occurred on every start of the machine, the service was running, as I was able to use my app. But I seriously wanted to get rid of this problem so the client will not be forced to see this annoying error.
The way I did it was set up the tomcat7w.exe to always start as an administrator. Exactly you do it in the following way: to right click on the tomcat7w.exe which is in 'bin' folder of the tomcat installation, select 'Properties', then in 'Compatibility' tab under 'Privilege Level' select the 'Run this program as an administrator'.

No comments: