tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: One process per webapp
Date Tue, 14 Jun 2011 18:07:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gili,

On 6/13/2011 9:26 PM, cowwoc wrote:
>   Assuming we simply use one webapp per Tomcat instance I'm still looking
> for two changes:
> 
> * Restart the entire JVM on webapp redeploy (to avoid JNI and ClassLoader
> problems)

Why bother redeploying, then? Instead of doing "ant redeploy", just do
"ant bounce" or something similar.

> * Faster webapp redeploys if the entire JVM is restarted. I'm aiming for one
> second but currently we're at ten seconds.

Tomcat simply takes a certain amount of time to start. The fewer things
you have configured at startup the better, but Tomcat starts up pretty
quickly. Generally speaking, it's your webapp that is going to take a
long time to start up if you have lots of things happening in
ServletContextListeners, load-on-startup Servlets, etc.

If you deploy no webapps, how long does it take Tomcat to start up?

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

iEYEARECAAYFAk33o00ACgkQ9CaO5/Lv0PBDmACgi0uBTXZ8RHtFjggelFNWlk48
iZsAnjEsq3bkhYzPZXIuDqcsw+649L9p
=FZoe
-----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