After installing the installed version of Tomcat, failed to install tomcat6 service may occur. Check your setting and permissio has a very low probability. However, this problem has occurred recently --.
I am depressed for some time. Finally, I found that I had installed tomcat, but when I deleted it, I simply deleted its folder and did not delete the Tomcat service in the service. Therefore, the above installation error occurred.
Solution:
1. Open CMD and execute SC Delete tomcat5 (or tomcat6, depending on your version). This will not work yet.
2. Enter Regedit in the running box to open the registry. Go to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet * \ Services and delete the Tomcat series.
Install Tomcat again.
Or use the following method:
Check that a tomcat service in the system service is disabled and cannot be started,
Run --> cmd --> enter SC Delete tomcat5/6 (5/6) as the version number and delete the corresponding service.
Error in installing Tomcat failed to install Tomcat 6 service and solution (reprinted)