I have Tomcat 7 running on a virtual machine running Linux. I started Tomcat as foreground process using a script and don’t know how to stop it. I have tried stop
, restart
, start
but all of the are giving me same error message:
status
command:
UNKNOWN due to Tomcat 7-based instance being started as a foreground process
stop
command:
Unable to stop Tomcat 7-based instance that was started as a foreground process. Use CTRL+C in the console of the process to stop the instance
Any idea how can I stop the foreground Tomcat instance?