File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Help for Tomcat Clustering and auto deployment of war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help for Tomcat Clustering and auto deployment of war file " Watch "Help for Tomcat Clustering and auto deployment of war file " New topic
Author

Help for Tomcat Clustering and auto deployment of war file

raja patil
Greenhorn

Joined: May 26, 2008
Posts: 24
Hello,

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: http://aspose.com/file-tools
 
subject: Help for Tomcat Clustering and auto deployment of war file