5.6. Stopping Enterprise Web Server

Procedure 5.11. Stopping Tomcat Running a Service

Follow this procedure to stop tomcat, which is running as a service:
  1. At the shell prompt, become the root user.
  2. Execute the following command with the respective Tomcat version (5 or 6) to stop Tomcat started from with the Tomcat script in the bin directory:
    sbin/tomcat<VERSION> stop

Procedure 5.12. Stopping Tomcat Running a Program

Follow this procedure to stop tomcat, which is running as a program:
  1. At the shell prompt, change to /opt/redhat/ews/share/tomcat<VERSION>/bin.
  2. Execute the following command with the respective Tomcat version (5 or 6) to stop Tomcat started from with the Tomcat script in the bin directory:
    sh shutdown.sh

Procedure 5.13. Stopping HTTP Server

Follow this procedure to start the HTTP Server:
  1. Run the command line as the root user.
  2. Run the following command to stop the HTTP Server:
    sbin/apachectl stop