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 B

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 PROTEC

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 me

Re: mod_ajp and Load-Balancing Issue

2008-09-20 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. >> If you want to debug a little more: In Tomcat you can add a >> %S t

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 coo

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
> > Basically, I open a user session and go through various > pages on my app. > > After a couple of clicks, the app just brings me back to > the start page. > > I'm monitoring logs from both sides and I see that as soon > as it comes > > back in error and brings me to the login page, activity

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 you

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 >

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 inform

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&

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
end 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,

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
PROTECTED] 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 prox

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 load-bal