Installation guide
configuration for directions.
Understand the Proxy Configuration parameters discussed in Appendix B, Reference: Java
properties
1. Disable dynamic proxy discovery
Edit JBOSS_EWS_DIST/tomcat6/conf/server.xml. and set the advertise property of the
ModClusterListener to false:
2. Define a mod_clust er listener
Add a <Listener> element to server.xml.
<Listener className="org.jboss.modcluster.ModClusterListener"
advertise="false" stickySession="true" stickySessionForce="false"
stickySessionRemove="true"/>
3. Creat e a st at ic proxy serve r list
Add a comma separated list of proxies in the form of IP_ADDRESS:PORT as the proxyList
property of the ModClusterListener <Listener> element.
Exa mple 9.3. Example St at ic Proxy List
<Listener className="org.jboss.modcluster.ModClusterListener"
advertise="false" stickySession="true" stickySessionForce="false"
stickySessionRemove="true"
proxyList="10.33.144.3:6666,10.33.144.1:6666"/>
9.2. Clustered node operation
The JBoss HT TP Connector can operate in either clustered or non-clustered mode.
Note
Only JBoss Enterprise Application Platform nodes support clustered operation with the JBoss
HTT P Connector. JBoss Enterprise Web Server nodes support non-clustered operation only.
JBoss HTT P Connector non- clust ered operation
In non-clustered mode each worker node communicates directly with the proxy.
JBoss HTT P Connector clustered operation
In clustered mode multiple worker nodes form a JBoss HA (High Availability) cluster domain. A
single worker node communicates with the proxy on behalf of the other nodes in the cluster
domain.
34 Chapter 9. Advanced configuration