users@glassfish.java.net

Re: How to set jvmRoute for AJP/mod_jk load balancing

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Oct 2007 10:30:07 PDT

Hi Jess, appending the jvmRoute to the JSESSIONID can be easily achieved, but can you explain how the jvmRoute is used by mod_jk and mod_proxy_ajp if the instance on which a particular session has been created (and whose jvmRoute was appended to the session's JSESSIONID) has gone down, and the request fails over to a different instance?

You would expect that once the request has failed over to a different instance, you would want it to remain sticky to this new instance, but the jvmRoute that was appended to the JSESSIONID cannot be "updated" (and would continue to point to the "old" instance).
 
Thanks,

Jan
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=241938