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?