users@glassfish.java.net

Re: Load Balancer routing not sticky on SJSWS

From: pgribben <p.gribben_at_fortent.com>
Date: Tue, 1 Dec 2009 03:29:32 -0800 (PST)

Kshitiz.

I hadn't realized that I needed to set some session state to get the app
server to write a cookie to the response header. I set a session attribute
in my test servlet and now the requests are sticky.

Thanks for your help with this.
Paul


Kshitiz Saxena wrote:
>
> Hi Paul,
>
> Thanks for the information. It was really useful.
>
> It looks like that your application is not creating any session. There
> is no "Set-Cookie" header in response to indicate that a session is
> created. Your browser is somehow sending JSESSIONID. I am not sure how
> that cookie was set. Please create a session in your servlet, then
> web-container will stamp JSESSIONID in response. Then will force
> load-balancer to insert additional sticky information.
>
> Thanks,
> Kshitiz
>
-- 
View this message in context: http://old.nabble.com/Load-Balancer-routing-not-sticky-on-SJSWS-tp26577386p26590344.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.