Red Hat Training
A Red Hat training course is available for Red Hat JBoss Web Server
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:
- At the shell prompt, become the root user.
- Execute the following command with the respective Tomcat version (
5
or6
) to stop Tomcat started from with the Tomcat script in thebin
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:
- At the shell prompt, change to
/opt/redhat/ews/share/tomcat<VERSION>/bin
. - Execute the following command with the respective Tomcat version (
5
or6
) to stop Tomcat started from with the Tomcat script in thebin
directory:sh shutdown.sh
Procedure 5.13. Stopping HTTP Server
Follow this procedure to start the HTTP Server:
- Run the command line as the root user.
- Run the following command to stop the HTTP Server:
sbin/apachectl stop