Reputation: 6623
I tried to install Tomcat as a service with the service.bat
file in CATALINA_HOME\bin\
but it ends just showing the error:
Failed installing 'tomcat 7' service
Any clue?
Upvotes: 10
Views: 39702
Reputation: 14163
It appears to be a permission issue, where are you running the installation from, I had this issue when trying to install from "C:\tomcat"
, I ended up installing the MSI which runs ok.
Upvotes: 2
Reputation: 11
In my case, I finally found the error was due to port in use error. After changing the port #
in server.xml
, ran service.bat remove
and then service.bat install
. This fixed the issue.
Upvotes: 1
Reputation: 6623
Finally, it was easier.
First, try to remove any other Tomcat service already installed service.bat remove
.
Second, install the service service.bat install
and voilà!
Thanks for your time.
Upvotes: 40