Re: reverse proxy and tomcat

2011-03-25 Thread André Warnier
Jorge Infante Osorio wrote: Hi André. An Excellent explanation. Thanks for the compliment, but I think that you should repost your new question differently : create a *new* email message, copy your text into it, and post it to the list. When you hit "reply" on an existing message, some messag

RE: reverse proxy and tomcat

2011-03-25 Thread Jorge Infante Osorio
Warnier [mailto:a...@ice-sa.com] Enviado el: miércoles, 23 de marzo de 2011 13:02 Para: Tomcat Users List Asunto: Re: reverse proxy and tomcat The setup with the first HTTP proxy and then the JK proxy is a bit confusing, and on this late afternoon I am not in my best guessing mode, but what I was

Re: reverse proxy and tomcat

2011-03-24 Thread János Löbb
André, My "marching order" was to setup a four member tomcat cluster on two machines and have a fail over for minimum one of the apaches. Then I reduced the number tomcats to two, one on each machine. My understanding is that although the user base for the app running on this setup will be re

Re: reverse proxy and tomcat

2011-03-24 Thread André Warnier
Hi. Glad that you resolved the problem, and that maybe something out of my guessing helped you do so. This being said, I am still a bit curious about your setup, and what it achieves. I understand the balancing bit to some extent. But you are aware that, while the first front-end Apache is

Re: reverse proxy and tomcat

2011-03-23 Thread János Löbb
André, What kind of "late afternoon" ?? I thought for folks in Western-Europe the day starts at late afternoon :-) The good folks of France just get out from the bed at that time, just like the "nyarleans" here in the States :-) Thanks a lot for the excellent explanation of the process belo

Re: reverse proxy and tomcat

2011-03-23 Thread André Warnier
The setup with the first HTTP proxy and then the JK proxy is a bit confusing, and on this late afternoon I am not in my best guessing mode, but what I was thinking about was something like this : (Oh, and I have to add that I am not quite clear at the moment as to when Tomcat uses a cookie to re

Re: reverse proxy and tomcat

2011-03-23 Thread János Löbb
Hi André, Her is the content of one of the workers.properties file. On the other machine the names are changed accordingly: bml0065:local administrator$ cat apache2/conf/workers.properties worker.list = lb,jkstatus worker.lb.type=lb worker.lb.balance_workers=tomcat1,tomcat3 #,tomcat2,tomcat4

Re: reverse proxy and tomcat

2011-03-23 Thread André Warnier
Just a vague suspicion.. What are the hostnames which you use in your workers.properties, for the Tomcats ? János Löbb wrote: Hi Igor, I use mod-proxy to balance the apaches/httpds. I use mod-jk t balance the tomcats. For the tomcats f course I also have the workers.properties files in

Re: reverse proxy and tomcat

2011-03-23 Thread János Löbb
Hi Igor, I use mod-proxy to balance the apaches/httpds. I use mod-jk t balance the tomcats. For the tomcats f course I also have the workers.properties files in the apache2/conf directory. When invoke the URL to the individual balance members, everything works fine. It is when I try to use

Re: reverse proxy and tomcat

2011-03-22 Thread Igor Cicimov
Interesting I had no idea you can mix mod_proxy and mod_jk, thought you should use the one or the other. What I do I have workers.properties file in the Apache conf directory with load-balancer worker that takes care of the load balancing ans sticky sessions. On Wed, Mar 23, 2011 at 8:54 AM, János

reverse proxy and tomcat

2011-03-22 Thread János Löbb
Hi, I have two machines bml0065.yalepath.org and bml0066.yalepath.org. Both have OSX 10.6.6, apache 2.2.17 and mod_jk 1.2.31 installed. Tomcat is 7.0.10 on both. Apache was compiled on both machines with proxy, proxy-balancer, proxy-http and proxy-ajp enabled. The bml0065 machine is config