Product SiteDocumentation Site

2.2.8. Stopping

Detailed instructions for stopping the Tomcat Servlet Container are given below, arranged by platform. Note that if you properly stop the server, you will see the following three lines as the last output in the Linux terminal or Command Prompt (both running and stopping the Tomcat Servlet Container produces the same output):
Using CATALINA_BASE:   /home/silas/temp/apps/mobicents/sip_servlets_server/mss-tomcat-0.7.2
Using CATALINA_HOME:   /home/silas/temp/apps/mobicents/sip_servlets_server/mss-tomcat-0.7.2
Using CATALINA_TMPDIR: /home/silas/temp/apps/mobicents/sip_servlets_server/mss-tomcat-0.7.2/temp
Using JRE_HOME:       /etc/java-config-2/current-system-vm
Procedure 2.18. Stopping MSS for Tomcat on Linux by Executing shutdown.sh
  1. You can shut down the Tomcat Servlet Container by executing the shutdown.sh Bourne shell script in the <topmost_directory>/bin directory. To do so, first change your working directory to the binary distribution's topmost directory (the one to which you extracted the downloaded zip file's contents):
    downloads]$ cd "mss-tomcat-<version>"
    
  2. (Optional) Ensure that the bin/shutdown.sh start script is executable:
    mss-tomcat-<version>]$ chmod +x bin/shutdown.sh
    
  3. Finally, run the shutdown.sh executable Bourne shell script
    mss-tomcat-<version>]$ ./bin/shutdown.sh
    
Procedure 2.19. Stopping MSS for Tomcat on Windows