Este conteúdo não está disponível no idioma selecionado.

2. Installation Notes


This section contains information related to installing JBoss Enterprise Web Server version 1.0.1, including hardware and platform requirements and prerequisites.

Important

RPM installation shares Java library files. When Enterprise Web Server coexists with Enterprise Application Platform, library version conflicts occur. Only one version (either Enterprise Web Server or Enterprise Application Platform) can exist on one server when RPM installation is used. The workaround for this issue is to yum remove Enterprise Application Platform before installing Enterprise Web Server.

2.1. Installation Notes for Red Hat Enterprise Linux

The preferred method for installing the JBoss Enterprise Web Server on Red Hat Enterprise Linux is by using the Red Hat Enterprise Linux rpm file; however we will also discuss installation via the zip package.
You must have adequate disk space to install JBoss Enterprise Web Server while also allowing enough space for your applications.
A working, supported installation of Java 1.6 on your system will also be necessary. On Red Hat Enterprise Linux 4 systems subscribed to the Extras channel, this can be achieved by executing:
up2date java-<version>-<vendor>
Where <version> is 1.6.0 and <vendor> can be sun or ibm.
On Red Hat Enterprise Linux 5 systems, this can be achieved by executing:
yum install java-<version>-<vendor>
Where <version> is 1.6.0 and <vendor> can be sun, ibm or openjdk. Please note that OpenJDK is only available for version 1.6.0.
Once the Java SDK has been installed, please check to make sure the desired JDK is chosen by executing the following:
alternatives --config java
alternatives --config javac
If the JDK in use is not the desired option, the above commands can be used to switch to another JDK.

Important

By switching alternatives for the Java JDK for Tomcat, other software that makes use of the java and javac commands will now be using the same JDK as well.
JBoss Enterprise Web Server can either be installed via the Red Hat Network (RHN) or the JBoss Customer Support Portal (CSP).
Installing via RHN

  1. If you are subscribed to the Red Hat Application Stack channel, you will need to disable that channel before installing the JBoss Enterprise Web Server.
  2. Subscribe to the JBoss Enterprise Web Server channel: Red Hat Enterprise Linux 4 ews or Red Hat Enterprise Linux 5 ews
    The available channels for Red Hat Enterprise Linux 4 are:
    • jb-ews-1-i386-es-4-rpm
    • jb-ews-1-x86_64-as-4-rpm
    • jb-ews-1-i386-es-4-rpm
    • jb-ews-x86_64-es-4-rpm
    The avaliable channels for Red Hat Enterprise Linux 5 are:
    • jb-ews-1-i386-server-5-rpm
    • jb-ews-1-x86_64-server-5-rpm
  3. Install the packages: tomcat5, tomcat6, tomcat-native, httpd22 and mod_jk
    On Red Hat Enterprise Linux 4 to install the packages, execute:
    up2date tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5 tomcat5-webapps tomcat5-admin-webapps ecj tomcat-native httpd22 mod_jk-ap20
    
  4. On Red Hat Enterprise Linux 5, to install the Tomcat 5 packages, you must make the following modification to the /etc/yum.conf file. Comment out the option:
    exactarch=1
    

    Note

    This change should be reverted when installation is complete to return yum configuration to the default settings.
    Then install the packages:
    yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps tomcat5.noarch tomcat5-webapps.noarch tomcat5-admin-webapps.noarch tomcat-native httpd mod_jk-ap20
    

Installing via CSP

  1. Download the JBoss Enterprise Web Server zip file from the CSP site that is correct for your operating system and architecture.
  2. Unzip the file.

Important

You can install both Tomcat 5 and Tomcat 6 in parallel on your system, however port addresses would need to be modified in order to avoid conflict.
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo