Each item that needs to be changed is marked with an "INFA change cluster" XML comment in
server.xml
. Search for this string to find the required locations.
Create a backup of the file
server.xml
and call it
server.xml.bak
.
Change the value of the attribute
jvmRoute
on the element
Engine
to the physical computer name, for example,
Tomcat-A
. The value of the
jvmRoute
attribute must be unique for each Tomcat instance, therefore, use the computer name. Otherwise, the load balancer cannot consistently route the requests and sessions to the correct machine.