Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 8. Advanced Configuration
8.1. Static Proxy Configuration Link kopierenLink in die Zwischenablage kopiert!
Procedure 8.1. Configure Application Platform Worker Node with Static Proxy List
Disable Dynamic Proxy Discovery
Edit thestandalone/configuration/standalone-ha.xmlfile and set theadvertiseproperty to false as follows:<mod-cluster-config advertise='false" connector="ajp" proxy-list="${jboss.modcluster.proxyList:}">- Choose and implement one of the following static proxy options:
Option 1: Create a Static Proxy Server List
Edit the filestandalone/configuration/standalone-ha.xmland add a comma separated list of proxies in the form of IP_ADDRESS:PORT in theproxyListproperty.Example 8.1. Example Static Proxy List
<mod-cluster-config advertise="false" connector="ajp" proxy-list="10.33.144.3:6666,10.33.144.1:6666">Option 2: Start the Worker Node with a Static Proxy List as a Parameter
- Edit
standalone/configuration/standalone-ha.xml. - Add the following line:
<mod-cluster-config advertise="false" connector="ajp" proxy-list="${jboss.modcluster.proxyList:}"> - Add a comma separated list of proxies in the form of IP_ADDRESS:PORT as the
jboss.modcluster.proxyListparameter when starting the node.Example 8.2. Example Static Proxy List Parameter
-Djboss.modcluster.proxyList=10.33.144.3:6666,10.33.144.1:6666
Procedure 8.2. Configure Web Server Worker Node with Static Proxy List
Disable dynamic proxy discovery
Edit the fileJBOSS_EWS_DIST/tomcat6/conf/server.xml. and set theadvertiseproperty of the ModClusterListener to false:Define a mod_cluster listener
Add a <Listener> element to theserver.xmlfile .<Listener className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener" advertise="false" stickySession="true" stickySessionForce="false" stickySessionRemove="true"/>Create a static proxy server list
Add a comma separated list of proxies in the form of IP_ADDRESS:PORT as theproxyListproperty of the ModClusterListener <Listener> element.Example 8.3. Example Static Proxy List
<Listener className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener" advertise="false" stickySession="true" stickySessionForce="false" stickySessionRemove="true" proxyList="10.33.144.3:6666,10.33.144.1:6666"/>