Rechercher

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

12.2. Configuring the Web Container

download PDF

Overview

Red Hat JBoss Fuse automatically deploys WAR files into a Web container, which is implemented by the PAX Web library. You can configure the Web container through the OSGi Configuration Admin service.

Configuration file

The Web container uses the following configuration file:
EsbInstallDir/etc/org.ops4j.pax.web.cfg
You must create this file, if it does not already exist in the EsbInstallDir/etc/ directory.

Customizing the HTTP port

By default, the Web container listens on the TCP port, 8181. You can change this value by editing the etc/org.ops4j.pax.web.cfg file and setting the value of the org.osgi.service.http.port property, as follows:
# Configure the Web container
org.osgi.service.http.port=8181

Enabling SSL/TLS security

The Web container is also used for deploying the Fuse Management Console. The instructions for securing the Web container with SSL/TLS are identical to the instructions for securing the Fuse Management Console with SSL/TLS. See chapter "Securing the Jetty HTTP Server" in "Security Guide" for details.
Warning
If you are planning to enable SSL/TLS security, you must ensure that you explicitly disable the SSLv3 protocol, in order to safeguard against the Poodle vulnerability (CVE-2014-3566). For more details, see Disabling SSLv3 in JBoss Fuse 6.x and JBoss A-MQ 6.x.

Reference

The properties that you can set in the Web container's configuration file are defined by the PAX Web library. You can set the following kinds of property:
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.

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 leBlog 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.

© 2024 Red Hat, Inc.