Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

7.2.2. Configure a Tomcat Worker Node


Follow this procedure to install the JBoss HTTP Connector on a JBoss Enterprise Web Server node and configure it for non-clustered operation.

Note

The supplied instructions are valid for Tomcat version 6 and 7 and do not require any changes for either of these versions.
Prerequisites

The following is a list of prerequisites for this task:

  • Install a supported JBoss Enterprise Web Server.
  • Understand the Proxy Configuration parameters discussed in Appendix B: Java Properties Reference.

Procedure 7.2. Configure a Worker Node for Tomcat

  1. Add a Listener to Tomcat

    Add the following Listener element beneath the other Listener elements in JBOSS_EWS_DIST/tomcat6/conf/server.xml.
    <Listener className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener" advertise="true" stickySession="true" stickySessionForce="false" stickySessionRemove="true" />
    Copy to Clipboard Toggle word wrap
  2. Give the Worker a Unique Identity

    Edit JBOSS_EWS_DIST/tomcat6/conf/server.xml and add a jvmRoute attribute and value to the Engine element, as shown:
    <Engine name="Catalina" defaultHost="localhost" jvmRoute="worker01">
    Copy to Clipboard Toggle word wrap
  3. Optional Step: Configure Firewall for Proxy Server Advertisements

    A proxy server using the JBoss HTTP Connector can advertise itself via UDP multicast. To receive these multicast messages, open port 23364 for UDP connections on the worker node's firewall.
    For Linux Users
    /sbin/iptables -A INPUT -m state --state NEW -m udp -p udp --dport
     23364 -j ACCEPT 
    -m comment -comment "receive mod_cluster proxy server advertisements"
    Copy to Clipboard Toggle word wrap
    If you are not using Automatic Proxy Discovery, configure worker nodes with a static list of proxies. In this case you can safely ignore the following warning message:
    [warning] mod_advertise: ServerAdvertise Address or Port not defined, Advertise disabled!!!
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat