users@glassfish.java.net

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

From: <forums_at_java.net>
Date: Mon, 10 Oct 2011 15:51:41 -0500 (CDT)

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