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

Richard,

On 5/5/16 6:01 PM, Decker, Richard M wrote:
> Thanks for the quick reply. The info you requested is below. The 
> config is identical (minus machine names) on the 2 apache httpd
> systems.
> 
> [httpd.conf] equivalent - All JkUn/Mounts
> 
> <virtualhost *XXX> # All requests go to tomcattest by default 
> JkMount /* acttomcattest # examples: # Static files in the examples
> webapp are served by apache #Alias /examples
> /tomcat/webapps/examples # here we serve the generic default page
> via apache instead of tomcat JkUnMount / tomcattest JkUnMount
> /index.html tomcattest JkUnMount /logo.gif  tomcattest # Serve gif
> using httpd #JkUnMount /*.gif  tomcattest
> 
> <virtualhost *XXX> JkMount /status statustest

So you are JkMounting everything to a single, large load-balancer
worker. I would recommend a per-application load-balancer-worker
setup, but for many applications, that can indeed become tedious. You
can get around that with another layer of indirection, I suspect.

>>> This happens with both new & cached sessions. I can bring an
>>> entire Tomcat system down, and it works as designed, but not
>>> for (stopped or undeployed) single applications. I'm really not
>>> sure how Tomcat and Apache are supposed to communicate with
>>> each other in this regard; so they know what apps are
>>> deployed/running on each system. Is this even possible?
>> 
>> Yep. You just need to tell your load-balancer about which 
>> applications can be found where.
> 
> So you're suggesting that I list every app in the apache/httpd 
> config, or just those that won't be deployed across the whole (3 
> system) env? Sound promising , but problematic of having to
> restart the Apache service, whenever a change is made.

I suppose only those you want to place on a limited number of servers.
But you'll always have the problem that any of the "globally-deployed"
applications being taken-down for maintenance will return 404 errors
from the nodes on which they run. It's very helpful to be able to
disable a single node/application combination, and you can't really do
that unless your load-balancer knows about each individual application.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlcw9S4ACgkQ9CaO5/Lv0PCD5ACghLNwXpBryoxB2L8fs4N9imVx
uRsAn0wNdWk7hDF2rcesql5DTaZ3LGXV
=jxjf
-----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