Chapter 17: Clustering number of applications loaded. This
Chapter 17: Clustering number of applications loaded. This is because considerable overhead is associated with each clustered application (session management, network traffic, and so on). The webapps subdirectory on clustered machines should be thoroughly clean, except for the clustered Web applications. web applications to run on this instance server.xml and other conf files for this instance logs for this instance server temp files for this instance temporary files directory for this instance clustermachine1machine2machine3shareddirwebappsconflogsworktemp same subdirectories as machine 1 same subdirectories as machine 1 for persistence session manager Figure 17-8: Directory tree for the clustering examples In this case, make sure you copy the webappsexamples subdirectory from the Tomcat 6 distribution into each of the webapps directories of the three machines. Disabling the HTTP Connectors The default server.xml file included with the Tomcat 6 distribution sets up two Connectors. One is an HTTP 1.1 Connector listening on port 8080, and the other one is an AJP 1.3 Connector listening on port 8009. You must first comment out the HTTP Connector if you are using the standard server.xmlfile. This ensures that the three instances will not fight for the 8080 port during startup:
For reliable and cheap web hosting services please check cheap web hosting website.