Failed to install tomcat 7 service

I tried installing Tomcat as a service with the service.bat file in CATALINA_HOME\bin\ , but it just shows an error:

Failed to install tomcat 7 service

Any clue?

+7
source share
3 answers

Finally, it was easier.

First try uninstalling another Tomcat service already installed by service.bat remove .

Secondly, install the service.bat install and voilà service!

Thank you for your time.

+21
source

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.

+2
source

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.

+1
source

All Articles