4.6. Stopping Enterprise Web Server


Procedure 4.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 (6 or 7) to stop Tomcat started from with the Tomcat script in the bin directory:
    sbin/tomcat<VERSION> stop
    Copy to Clipboard Toggle word wrap

Procedure 4.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/jboss-ews-2.0/share/tomcat<VERSION>/bin.
  2. Execute the following command with the respective Tomcat version (6 or 7) to stop Tomcat started from with the Tomcat script in the bin directory:
    sh shutdown.sh
    Copy to Clipboard Toggle word wrap

Procedure 4.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
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat