-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chandra,
On 7/6/16 5:34 PM, chandra sekhar wrote: > Oracle Apex is a web application to build a web based > application.It will retrieves the static file content from DB by > executing stored procedures etc.Hence,for this it creates sessions > in the DB as well.Session can be distributed.So we are thinking to > load balance.Please advice. Tomcat is happy to live behind any kind of reverse proxy. If you want to use sticky sessions (usually a good idea), you'll want to make the reverse proxy aware of the JSESSIONID session cookie and/or the jsessionid path parameter to provide sticky-session-handling. If you use Apache httpd + mod_jk, you get some configuration-less configuration for free such as TLS information being forwarded automatically to the Tomcat node. If you want to use HTTP as your proxying protocol, then you'll have to arrange for the various data to be packed-into HTTP headers to be sent to Tomcat. You can use Tomcat's RemoteIPValve to consume those HTTP headers to provide the reverse proxy's connection information to Tomcat (and thus, your web application). Members of this list have experience with all kinds of reverse-proxy servers. My deepest experience is with httpd+mod_jk+Tomcat while others may use httpd+mod_proxy_http+Tomcat or nginx+Tomcat or haproxy+Tomcat or squid+Tomcat. Or even IIS + Tomcat if necessary. Apache httpd is a fairly heavy web server to use if all you want to do is load-balancing and proxying. If there is another reason to use httpd then by all means use it. I would say you should check to see who will be supporting the load-balancer and ask them what their preference is. It's far more important to make sure the load-balancer is maintained properly than to pick one based solely upon the recommendations of the members of this mailing list. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJXfXvjAAoJEBzwKT+lPKRYlG0P/2Ng5ruyCxSqRg1Sqp6wYKqT i79Pw12xzi0oCN3ekJtPvZDGF5hd2YRjorhCljKbt2yBWw2wMhJE159TMI5T3wvB 8P88dpGLDDLAWxgxT2YaRzlpCYYBQyTwQ/vYboA1UjJuLqE4jj9z7xlvwS0w7yeL 3aWsYyxRcCTu2NGv+VT0ayib2C4iqYkJGD2gqHp7hsN91fqb69/fRJtvhy5Ix4W1 U9cvGrwo8MfBzJ4/8KDE+DbWxBLX9bo3hkzo9Uaavb9rhlcMJIaP8iQv2/GP7qID yc0geI5rUmkLp0nIb+REzmGAAki/mWDyYp+YHQz9N05kqUKj352ffY01L823RLHd 2lNosx8xuOu94NbnVq8QGM/B55AKdB4hx+ShhzwfA8MJocaLv79odaQG3JrE99i/ xsQ0LZOhxlwVJjGJtsEP6cdjx6vgAjyOXqvlu1/On0mECz7FNFpCYUTpTkb78F5p vxNQe1a2PRXIFhPl4mXRIXMlCyDhXn5cja81V5oqhuOT5rb2D+PT3z+0xar0YgXy /xdyBebKVH/0ndE9KDIqz2Yqf0QVq+WKiQqQA6TNYB5NKg1NpyBzCoYk110H8uyx bLYVJWaNZGrwoqmrkl1VAPK6Eu4DD+RhtSmosAiHerJ7BDtB7q1mq7iLk2qoaTrr M4eOM5j8IWyh9vhJEfUw =sFyG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org