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

Gili,

(Sorry, your message was structured in a way I didn't expect, so I
didn't see the lower portion).

On 6/14/2011 3:54 PM, cowwoc wrote:
> Chris, I'm asking for a lot more sophistication than simply restarting the
> JVM. I'm talking about sticking a proxy (on port 80) that acts a front-man.
> Then each webapp run in its own JVM in some custom port. The proxy redirects
> traffic to the custom ports. Reloading webapps would do the following:
> 
> * Grab a blank (loaded without any webapps) Tomcat instance from some pool,
> ask it to load the new webapp instance.
> * The new instance runs in a different port than the existing instance
> * We ask the proxy to forward traffic to the new port instead of the old one
> * We ask the old instance to shut down
> * Note that traffic moves across instances instantly (without waiting for
> the old instance to shut down)

The Tomcat team has thus far been unwilling to implement even an HTTP
proxy component due to lack of interest from the community. Given that
the HTTP proxy would be a major requirement to your above solution, I
don't see this happening anytime soon.

If this is something that you would like to design and implement
yourself, donations of code are always welcome. I don't think anyone
around here is going to take on that responsibility, though.

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

iEYEARECAAYFAk331swACgkQ9CaO5/Lv0PA0LQCfVybrSezyjMJxC/eHi1nIq1d6
Me8AoLq2f1pOYqLER/ndLhHMtGRJe+/1
=nr2i
-----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