I am getting this error from tomcat:
The specified service does not exist as an installed service.
Unable to open the service “tomcat8”
Then application will not start at all,
So I opened command line and installed the service:
tomcat8.exe //IS//tomcat_8_ServiceName
But still facing the same issue
Assuming i have multiple tomcats on the same box,
Where is the exe file tomcat8w.exe getting the service name from?
After a few hours of struggle I installed new tomcat using the Service installer just to see what is it doing, apparently the installer changes the name of the executable .exe file to match the service name.
so if you run
tomcat8w.exe
It will look for service name: tomcat8
So I went back to my old tomcat directory and after installing the service using the command:
tomcat8.exe //IS//tomcat_8_ServiceName
I renamed the executable file from tomcat8w.exe to tomcat_8_ServiceNamew.exe
Now its working like a charm!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With