Re: mod_ajp and Load-Balancing Issue

2008-09-22 Thread Stephen Nelson-Smith
On Mon, Sep 22, 2008 at 1:45 AM, Shaun Senecal [EMAIL PROTECTED] wrote: Are you using the ClusterSingleSignOn Valve? I'm not, no. I have httpd 2.2 on the front-end, with a balancer pool thus: ProxyRequests Off ProxyVia Off ProxyPreserveHost On ProxyErrorOverride On ProxyTimeout 60 Proxy

Re: mod_ajp and Load-Balancing Issue

2008-09-21 Thread Stephen Nelson-Smith
Good morning, By error, I just meant that I'd get redirected to the login page instead of the expected page. Sorry to confuse. There are no error pages, logs or messages. Just that I got switched to a different node. snip If you want to debug a little more: In Tomcat you can add a %S to

Re: mod_ajp and Load-Balancing Issue

2008-09-21 Thread Shaun Senecal
Are you using the ClusterSingleSignOn Valve? If you are, this sounds like the behaviour I was seeing, and have since resolved. The problem I had (well, part of the problem) was that the SSO information was not being replicated across the cluster when tomcat instances were brought back up. This

Re: mod_ajp and Load-Balancing Issue

2008-09-21 Thread Shaun Senecal
Oops. My orignal post is here ( http://www.nabble.com/Clustered-SSO-improperly-invalidated-upon-web-application-shutdown-to19447895.html#a19447895). It might descirbe the problem better to see if this is the same issue you are facing. On Mon, Sep 22, 2008 at 9:45 AM, Shaun Senecal [EMAIL

RE: mod_ajp and Load-Balancing Issue

2008-07-16 Thread marat
I've been observing similar behavior. I think there is actually a bug in either apache mod_proxy or tomcat. Here is what happens: Sometimes and I'm not quite sure what condition triggers this in apache_proxy, apache_proxy modifies the cookie value by adding the name of the worker server so a

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: Hi, I've two tomcat servers being proxied and load-balanced by httpd using mod_ajp (using balancer:). However, it seems when the proxy switches from one server to another, the user session gets lost. Could people recommend a way to correct my setup for doing

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
] Sent: Friday, July 04, 2008 11:13 AM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard schrieb: Hi, I've two tomcat servers being proxied and load-balanced by httpd using mod_ajp (using balancer:). However, it seems when the proxy switches from one

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
of the ProxyPass line. See also the mod_proxy docs page, look out for stcikysession. HTH Rainer Richard Plana -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 11:13 AM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
-Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 12:38 PM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard schrieb: Hi, Thanks. Yes, if I can't share the session information between

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 12:38 PM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard schrieb: Hi, Thanks. Yes, if I can't share the session information

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
So far, so good. You also need to tell mod_proxy_balancer, what the name of the URL parameter resp. Cookie is, which carries the routing information. I forgot about that (in mod_jk it is automatically the right for Java App Servers, mod_proxy is more flexible and you need to

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: So far, so good. You also need to tell mod_proxy_balancer, what the name of the URL parameter resp. Cookie is, which carries the routing information. I forgot about that (in mod_jk it is automatically the right for Java App Servers, mod_proxy is more flexible and