Ce contenu n'est pas disponible dans la langue sélectionnée.
9.2. Configuring the Web Container
Overview Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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 Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The Web container uses the following configuration file:
EsbInstallDir/etc/org.ops4j.pax.web.cfg
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 Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
By default, the Web container listens on the IP 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
# Configure the Web container
org.osgi.service.http.port=8181
Enabling SSL/TLS security Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The Web container is also used for deploying the JBoss Fuse Web console. The instructions for securing the Web container with SSL/TLS are identical to the instructions for securing the Web console with SSL/TLS. See chapter "Securing the Web Console" in "Security Guide" for details.
Reference Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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: