tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Deploying grails application
Date Mon, 03 Aug 2009 21:57:21 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

> By the way, what is the preferred way to deploy war files to a tomcat
> installation? from the admin console? copying the file directly?

It all depends on your environment, really. We only do webapp
deployments when we do a release... maybe every 3-6 months. Since we
don't need any fancy continuous service or anything like that, we just
shut down Tomcat, delete the deployment directory, unwar the new
version, and start Tomcat again.

Your requirements may warrant a more complicated solution.

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

iEYEARECAAYFAkp3XUEACgkQ9CaO5/Lv0PCLrACgjsZLNAEoMrSS7zYDGoZaiROq
oWkAn0eJhy3vCn7fS0Xt5X5Ni28rEbQg
=l2GS
-----END PGP SIGNATURE-----

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


Mime
View raw message