Questo contenuto non è disponibile nella lingua selezionata.

2.5.8. Running Enterprise Web Server


To run JBoss Enterprise Web Server, run the following:

2.5.8.1. Running Tomcat

You can run Tomcat either in the background as a service (refer to Section 2.5.8.1.2, “Running Tomcat as a Service”) or in the foreground as a program (refer to Section 2.5.8.1.1, “Running Tomcat as a Program”).

Important

It is strongly recommended to run Tomcat with the startup.sh script (refer to the startup.sh entry in Section 2.5.8.1.1, “Running Tomcat as a Program”). Note that this is the only supported running method.
Before starting Tomcat, make sure the following prerequisites are met:
2.5.8.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.0/tomcat<VERSION>/bin/startup.sh
    Copy to Clipboard Toggle word wrap
    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.0/tomcat<VERSION>/bin/catalina.sh
    
    Copy to Clipboard Toggle word wrap
  • custom script, which calls catalina.sh
2.5.8.1.2. Running Tomcat as a Service
To run Tomcat as a service, create and use your own system daemon script with jsvc.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat