Re: mod_jk failover and preferring localhost

2006-12-08 Thread Rainer Jung
daneturner schrieb: > > Rainer Jung-3 wrote: >> Short answer for your question: >> >> the two lines you tried to use as a distance configuration both have >> typos: >> >>> workers.localhost.distance=10 >>> workers.localhost.distance=20 >> workers -> worker >> localhost -> ritin (once) >> > > Ouch

Re: mod_jk failover and preferring localhost

2006-12-07 Thread daneturner
Rainer Jung-3 wrote: > > Short answer for your question: > > the two lines you tried to use as a distance configuration both have > typos: > >> workers.localhost.distance=10 >> workers.localhost.distance=20 > > workers -> worker > localhost -> ritin (once) > Ouch. How stupid. Thanks for t

Re: mod_jk failover and preferring localhost

2006-12-07 Thread Rainer Jung
Short answer for your question: the two lines you tried to use as a distance configuration both have typos: > workers.localhost.distance=10 > workers.localhost.distance=20 workers -> worker localhost -> ritin (once) I just did a quick test with 1.2.20 (there should no be change wrt. distance be

Re: mod_jk failover and preferring localhost

2006-12-07 Thread daneturner
I just tested with mod_jk 1.2.19 and it still seems as though the distance parameter is being ignored. Output from the status/monitor.page shows mod_jk alternating between tomcats with different distance values in workers.properties. How can I troubleshoot this further? Here's my workers.prop

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
The new attribute distance will help you. It was first implemented for version 1.2.16, which is in the process of being released (see my other answer). Please test and let us know your results. thuss2 schrieb: > We have 10 web servers with Tomcat's running on them and a mod_jk > configuration to

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
We just now tagged 1.2.16. A release candidate is available. Please have a look at http://marc.theaimsgroup.com/?l=tomcat-dev&m=115194553720728&w=2 Test results are welcome. If no new problems will be found, the release vote will procees starting Friday. The final release will be announced on th

Re: mod_jk failover and preferring localhost

2006-06-22 Thread David Rees
On 6/22/06, Per Johnsson <[EMAIL PROTECTED]> wrote: Is 1.2.16 avaiable for download somewhere? Not that I know of, you have to grab the source from SVN. Found this: http://tomcat.apache.org/connectors-doc/news/20060505.html I wonder how that got there! -Dave --

RE: mod_jk failover and preferring localhost

2006-06-22 Thread Per Johnsson
Hi! Is 1.2.16 avaiable for download somewhere? Found this: http://tomcat.apache.org/connectors-doc/news/20060505.html Regards Per -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: den 21 juni 2006 21:14 To: Tomcat Users List Subject: Re: mod_jk failover and

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. instead or "as well"

Re: mod_jk failover and preferring localhost

2006-06-21 Thread thuss2
That explains it, thanks. I've just set the lbfactor extremely high on the localhost in the interim to get mod_jk to prefer it over remote tomcats. -Todd -- View this message in context: http://www.nabble.com/mod_jk-failover-and-preferring-localhost-t1825380.html#a4980806 Sent from the Tomcat -

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. Also the 'distance' param will be suppor

Re: mod_jk failover and preferring localhost

2006-06-21 Thread thuss2
Filip, we're not using sessions so we don't need sessions affinity, but if we did we'd use session replication rather than sticky sessions. The sticky option does accept true/false according to the documentation http://tomcat.apache.org/connectors-doc/config/workers.html . I think that's all unrel

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Filip thuss2 wrote: We have 10 web servers with Tomcat's running on them and a mod_jk configuration to prefer the tomcat on localhost and only failover to ano