users@glassfish.java.net

Re: GlassFish v3, mod_jk and sticky sessions on http & https

From: <glassfish_at_javadesktop.org>
Date: Thu, 25 Feb 2010 00:23:20 PST

So the sessions are maintained when switching to https if there is no load balacing. Are the sessions maintained with mod_jk + glassfish + load balancing for you if there is no switching http <-> https? Trying to determine if the issue is with mod_jk ssl or session/load balancing you have.

I assume you've set up your config as explained in

http://blogs.sun.com/jluehe/entry/supporting_apache_loadbalancer_with_glassfish

"List each GlassFish instance, including the port number of its mod_jk connector, in Apache's workers.properties configuration file. Make sure that the name of each worker equals the value of the jvmRoute system property of the GlassFish instance to which the worker connects. This convention makes it possible for an HTTP session to remain sticky to the GlassFish instance on which the session was created, or on which the session was last resumed. "
[Message sent by forum member 'amyroh' (amyroh_at_sun.com)]

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