File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help for Tomcat Clustering and auto deployment of war file

raja patil
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

Raja Patil

These is No config in server.xml.
WEB-INF/web.xml has <distributale/> element
and The MEATA-INF/Config.xml is as Follows

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic