-----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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to