users@glassfish.java.net

Re: Glassfish 3.1 Final - High Availability Web Apps Slow, ...

From: Mahesh Kannan <Mahesh.Kannan_at_Oracle.Com>
Date: Mon, 10 Oct 2011 20:45:19 -0700

That seems like a web container / Load balancer issue. I would expect session losses to be close to zero when sessions are sticky. Can you send us the HTTP response message (including headers, cookies etc.).

Anyway, I will test it myself with Jmeter before suspecting other components.

--Mahesh

On Oct 10, 2011, at 1:51 PM, forums_at_java.net wrote:

> I've noticed something else odd.
>
> We have the server configured behind apache cluster using AJP protocol.
>
> We also use sticky session loadbalancing:
>
> <Location /clusterjsp>
> # ProxyPass balancer://ajpStageCluster/clusterjsp stickysession=JSESSIONID
> ProxyPass balancer://ajpStageHACluster/clusterjsp
> </Location>
>
> When we disable sticky session (as shown above) the session gets lost only
> if it is big,
>
> but if we uncomment the first line and use sticky session, the app becomes
> unresponsive and loses sessions
>
> all the time. The sticky session cookie rewriting seems to have adverse
> impact when availability is enabled.
>
>
> --
>
> [Message sent by forum member 'lprimak']
>
> View Post: http://forums.java.net/node/778666
>
>