Este contenido no está disponible en el idioma seleccionado.

14.2. Configure server instance as a worker node


Task: Configure Server Instance as a Worker Node

Complete this task to correctly configure your JBoss Enterprise Application Platform instance as a worker node for use with Microsoft Internet Information Services (IIS).
  1. Create a server profile for each worker node

    Make a copy of the server profile you want to configure as a worker node, and rename it - worker-01 for example.
  2. Give each instance a unique name

    Edit the following line in the PROFILE\deploy\jbossweb.sar\server.xml file of each new worker instance:
    <Engine name="jboss.web" defaultHost="localhost">
    Copy to Clipboard Toggle word wrap
    Add a unique jvmRoute value, as shown. This value is the identifier for this node in the cluster.
    <Engine name="jboss.web" defaultHost="localhost" jvmRoute="worker-01">
    Copy to Clipboard Toggle word wrap
  3. Enable session handling

    Uncomment the following line in the PROFILE\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xml file of each worker node:
    <property name="useJK">false</property>
    Copy to Clipboard Toggle word wrap
    This property controls whether special session handling is used to coordinate with mod_jk and other connector variants. Set this property to true in both worker nodes:
    <property name="useJK">true</property>
    Copy to Clipboard Toggle word wrap
  4. Start worker nodes

    Start each worker node in a separate command line interface. Ensure that each node is bound to a different IP address with the --host switch and that the profile is specified with the -c switch.
    JBOSS_EAP_DIST\bin\run.bat --host=127.0.0.1 -c worker-01
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat