Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 8. Advanced Configuration
8.1. Static Proxy Configuration Copier lienLien copié sur presse-papiers!
Ensure that the following prerequisites are satisfied before initiating the procedure.
- JBoss Enterprise Web Server worker node configured. See Section 7.1, “Worker Node Requirements” for directions.
- Understand the Proxy Configuration parameters discussed in the Java Properties Reference Appendix.
Procedure 8.1. 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.1. 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"/>