Sun GlassFish Enterprise Server v2.1.1 Release Notes

Jroute cookie missing when you set "rewrite-cookies" value to false in the loadbalancer.xml (6978685, 6980807)

Description

When Enterprise Server v2.1.1 is configured for load balancing with Web Server 7.0, Jroute cookies are no longer generated. The problem is that the default loadbalancer.xml file sets the rewrite-cookies property to false.


<property name="rewrite-cookies" value="false"/>

Solution

Remove the rewrite-cookies property from loadbalancer.xml; that is, remove the line that reads:


<property name="rewrite-cookies" value="false"/>

You may also find it necessary to modify the relaxVersionSemantics property in sun-web.xml. For more information, see Memory Replication & Multi-threaded Concurrent Access to HttpSessions.

Restart the Web Server after making either of these changes.