jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes Cluster-wide hot deployment of web applications: Farming in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cluster-wide hot deployment of web applications: Farming in Tomcat" Watch "Cluster-wide hot deployment of web applications: Farming in Tomcat" New topic
Author

Cluster-wide hot deployment of web applications: Farming in Tomcat

birenshah shahbiren
Greenhorn

Joined: Feb 28, 2008
Posts: 19
Hi,

I am trying to achieve clustering using Apache tomcat 6.0.29.
Please help me out with cluster-wide hot deployment of web applications.

I mean to say, when I deploy WAR file on one of the node then it should be deployed to all the nodes.

Thanks,
Biren
Gopi Chella
Ranch Hand

Joined: Apr 26, 2010
Posts: 53
If you setting up the cluster environment on single machine(example : on your laptop) then you need to create three different nodes which should be running on different ports like 8080, 8081 and 8082, after you create these nodes then if you place your war file inside the webapps folder (hot deployment) the app will get deployed on other nodes(other webapp folders) automatically.

I have done this with Jboss server and it works fine.

Thanks, Gopi


SCJP 1.5
birenshah shahbiren
Greenhorn

Joined: Feb 28, 2008
Posts: 19
Nope..For tomcat this does not work. Any other suggetion please.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cluster-wide hot deployment of web applications: Farming in Tomcat
 
Similar Threads
Cluster-wide hot deployment of web applications: Farming in Tomcat
cluster and hot stand by
For Mike: What [application] server deployment the book covers?
Hot Deployment
hot deployment in jboss 4.2