You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2012/01/24 16:18:56 UTC

Amazon ELB, Tomcat, and sticky-sessions

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

All,

I've been looking into using Amazon EC2 instances with Tomcat. Alone,
they seem to run fairly well together. I'm wondering about using
Amazon's ELB (Elastic Load Balancer) with Tomcat and sticky sessions.

I've been using mod_jk for years to connect httpd and Tomcat, and
using ELB would pretty much obviate the need for me to use httpd for
load-balancing.

Except that I have multiple webapps each running under a separate
instance of Tomcat.

If I use ELB in this context, it seems that I will still have to run
httpd on my EC2 instances because I suspect that ELB doesn't have the
kind of configuration that would allow me to support sticky sessions
and multiplex across different webapps using a URL prefix for each one.

Does anyone have any experience with Amazon ELB and Tomcat who could
comment on such a setup?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8ey+AACgkQ9CaO5/Lv0PBrYQCfZrHmimRJEHOavBI8HkUAfaJR
mBoAnjccgWUl2Hsz9cWA31U1v5tqmbap
=P+Lv
-----END PGP SIGNATURE-----

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