Help for Tomcat Clustering and auto deployment of war file
posted 3 years ago
I trying to form a cluster of tomcat 7 servers. I have used Memcached-Session-Manager + CouchbaseServer for session replication. I have used HAProxy for loadbalancing. Lab Tests are satisfactory for sticky as well non-sticky sessions. MSM session manager is configured in applications META-INF/Context.xml. I have thought of using farmWarDeployer for auto deployment of war among the cluster. I referred tomcat documentation where it is configured in <host> section of server.xml along with <cluster> element which uses simpletcpcluster class and inturn it uses deltamanager. I fear that both deltamanager and MSM may have some sort of clash. Since this is my first web application project I have no experience with Tomcat Config intricacies.
Can some body guide me in configuring the FarmWarDeployer along side with MSM.
Thanks and warm regards
These is No config in server.xml.
WEB-INF/web.xml has <distributale/> element
and The MEATA-INF/Config.xml is as Follows