-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 8/3/2009 6:06 PM, Mark Thomas wrote:
> Christopher Schultz wrote:
>> Juan,
>>
>> On 7/30/2009 4:39 PM, Juan Pablo Romero Méndez wrote:
>>> It turned out there is some delay between clicking the link to deploy
>>> and the application being available. I somehow expected this process
>>> to be almost instantaneous.
>>
>> I won't use the manager app, so I've never really noticed that the
>> deployment process is not synchronous. I'm not surprised, though: the
>> manager app is probably just saying to Tomcat "please deploy this
>> application". Tomcat responds by saying "okay, I'll do my best" and then
>> the manager app responds to you (the user). Tomcat does the deployment
>> at its leisure.
> 
> Nope. Deployment via the manager app is synchronous. Time taken to
> deploy will depend how big the war is and how long your app takes to start.

Good to know. I wonder what Juan meant when he said "instantaneous": I
had assumed that the response came back from the server, but the app
wasn't yet deployed. Maybe he thought that as soon as the mouse was
clicked, the application would immediately be available, rather than
having to wait until the response was received.

Is there a possibility for an asynchronous deploy? I ask because I've
seen some (badly written) applications that take several minutes to
initialize. In these cases, could a request timeout break a deployment?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkp3YIsACgkQ9CaO5/Lv0PDYnACfeJBiP6tblTaLSDYZwmT0C2wU
I+wAnjxAppfwjaoBJqhUMXlp/9Xt2sip
=6t5o
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to