Changes for page Clustering Tutorial

Last modified by Vincent Massol on 2020/01/28

From version 20.1
edited by Thomas Mortagne
on 2012/10/06
Change comment: There is no comment for this version
To version 21.1
edited by Thomas Mortagne
on 2012/10/06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -81,7 +81,7 @@
81 81  {{/code}}
82 82  
83 83  You need also to precise the name of the JVM route for each member of the balancer. On Tomcat, in ##conf/server.xml##, edit the ##Engine## node as follow :
84 -{{code}} <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">{{/code}}
84 +{{code language="apacheconf"}} <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">{{/code}}
85 85  
86 86  On GlassFish and Tomcat and probably others, you can set the system property jvmRoute to the same value.
87 87  
... ... @@ -105,7 +105,7 @@
105 105  
106 106  The balancer-manager is also precious:
107 107  
108 -{{code}}
108 +{{code language="apacheconf"}}
109 109  <Location /balancer-manager>
110 110   SetHandler balancer-manager
111 111   AuthType digest
... ... @@ -126,7 +126,7 @@
126 126  You can also easily include the following HTML to force your browser to change from one node of the cluster to the other. This is extremely important to verify that clustering works:
127 127  
128 128  
129 -{{code}}
129 +{{code language="html"}}
130 130  <a href="$doc.name"
131 131   onclick="d = new Date(); d.setDate(d.getDate()+7); document.cookie='JSESSIONID=xxx.$hostname; ' + d.toUTCString()" ##
132 132   >$hostname</a>

Get Connected