I tried installing Tomcat as a service with the service.bat file in CATALINA_HOME\bin\ , but it just shows an error:
service.bat
CATALINA_HOME\bin\
Failed to install tomcat 7 service
Any clue?
Finally, it was easier.
First try uninstalling another Tomcat service already installed by service.bat remove .
service.bat remove
Secondly, install the service.bat install and voilà service!
service.bat install
Thank you for your time.
It seems that there is a problem with the resolution with which you start the installation, I had this problem when trying to install from "C:\tomcat" , I finished installing MSI, which works fine.
"C:\tomcat"
In my case, I finally found that the error was due to a port usage error. After changing port # in server.xml , run service.bat remove and then service.bat install . This fixed the problem.
#
server.xml