0

I'm trying to automatically start and stop tomcat 8.0. I've got the stop to work. When I try and start it, it runs in the command line (but still shows Stopped as in the img below) and everything works fine but as soon as I close the window it shuts down. Does anyone know how I can start tomcat as I would by clicking on the Start button?

Tomcat Stopped

  • There is a log directory in `c:\program files\apache software foundation\Tomcat 8.0`, can you take a look at the file named `catalina.out` and post what's inside? –  Feb 17 '17 at 12:04
  • see also https://stackoverflow.com/questions/5398654/tomcat-not-starting?rq=1 –  Feb 17 '17 at 12:05

1 Answers1

0

As it is installed as a service with name Tomcat8 this command should start it when called with admin rights.

net start Tomcat8
Markus Benko
  • 1,507
  • 8
  • 8