I have observed that if I build on windows, and copy FROM windows to Linux,
Tomcat will prematurely begin transferring the war file to the rest of the
cluster.  The master tomcat will end up with a correct war file, and the
other will get a corrupt or truncated one.

Also, there is no synchronous way to remove the old war, know that it is
undeployed from all tomcats in the cluster, and then you know you can deploy
the new war.  I guess I could have it sleep for 30 seconds or so, but even
that is no guarantee.  I haven't found that copy with overwrite consistently
triggers the copy.  

I'm guessing this is a samba issue, but due to circumstances beyond my
control, our build machine is running windows and I can't change it.  At
least with the manager application, when control returns to ant, the app is
definitely (and reliably) undeployed.

Tim


-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 21, 2006 7:55 AM
To: Tomcat Users List
Subject: Re: Ant deploy task and cluster-wide (farm) deployment

yes, farm deployment is triggered by simplying copying a WAR into the 
"watch" directory, with ant that would be using the copy task
Filip


Tim Lucia wrote:
> Is it possible to deploy to a cluster using the deploy task?  (i.e., can
it
> be done using /manager/html?)  I think not (I can't find any way to do
it.)
>
>  
> If no, are there any plans to support this in the future?
>  
> I ask because I have found that production re-deployment is an unreliable
> process when you have to rely on deleting and copying war files across a
> network share.  I'd like to avoid having to keep a list of cluster members
> around in order to undeploy and deploy to each one.
>
> Thanks,
> Tim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to