Hi,
In load-balancer xml, you will see rewrite-cookies as property. Please
set it to true. I assume by default it is false.
Thanks,
Kshitiz
pgribben wrote:
> Hi,
>
> I've got SJSWS load balancing requests to a web-app on a Glassfish 2.1
> cluster (consisting of 2 instances). The app consists of a servlet that
> replies with the request.getServerName(), request.getServerPort() and the
> servletContext's computed realPath(".") value. I would expect successive
> calls from the same browser window to 'land' on the same GF instance, but
> infact am finding that instead the requests land alternately on each
> instance (i.e. round-robin). I've checked the HTTP request headers and in
> every case the same JSESSIONID value is in use.
>
> I also tried changing the policy in loadbalancer.xml from round-robin to
> weighted-round-robin but the behaviour is unchanged.
>
> Any help would be greatly appreciated,
>
> Thanks
>