Ce contenu n'est pas disponible dans la langue sélectionnée.

2.4.5. Running Enterprise Web Server


To run JBoss Enterprise Web Server, run the following:

2.4.5.1. Running Tomcat

You can run Tomcat either in the background as a service (see Section 2.4.5.1.2, “Running Tomcat as a Service”) or in the foreground as a program (see Section 2.4.5.1.1, “Running Tomcat as a Program”).

Important

It is strongly recommended to run Tomcat with the startup.sh script (see the startup.sh entry in Section 2.4.5.1.1, “Running Tomcat as a Program”). Note that this is the only supported running method.
Before starting Tomcat, ensure that the following prerequisites are met:
2.4.5.1.1. Running Tomcat as a Program
To run Tomcat as a program, run one of the following scripts:
  • startup.sh script
    Run the following command as the root user with the respective Tomcat version (6 or 7):
    # sh /opt/jboss-ews-2.1/tomcat<VERSION>/bin/startup.sh
    The system reads the configuration file and changes to the user and group to the tomcat user account (that is, Tomcat is always run under the tomcat user). By default, tomcat-native is automatically added to the LD_LIBRARY_PATH and -Djava.library.path during Tomcat startup.
  • catalina.sh script
    Run the following command with the respective Tomcat version (6 or 7) :
    # sh /opt/jboss-ews-2.1/tomcat<VERSION>/bin/catalina.sh
    
  • custom script, which calls catalina.sh
2.4.5.1.2. Running Tomcat as a Service
To run Tomcat as a service, you can use the daemon script with jsvc provided in Tomcat 6 and 7.
For more information about Jsvc, see About Jsvc chapter of the HTTP Connectors and Load Balancing Guide .
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début