5. Double-click the appropriate site in the list (by default there’ s only one), which should be enabled.
6. Click the Options tab, and deselect Performance Cache.
7. Click Save.
8.
Open httpd.conf file, located in /etc/httpd, in a text editor.
9.
Look for <IfModule mod_jk.c>.
10.
Add JKMount /petstore/* loadbalancer as the last item of the IfModule element.
The IfModule element should look similar to this:
<IfModule mod_jk.c>
JKWorkersFile /etc/httpd/workers.properties
JKLogFile /var/log/httpd/mod_jk.log
JKLogLevel error
JKMount /*.jsp JBoss1
JKMount /servlet/* JBoss1
JKMount /examples/* JBoss1
JKMount /petstore/* loadbalancer
</IfModule>
11. Save the file.
12.
Open the workers.properties file, which is also located in /etc/httpd, in a text editor.
Load Balancing and Clustering 49
2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
CHAPTER 5
Balancing User Load and Replicating Sessions
Comentarios a estos manuales