I've read the 2 links referred to in this thread.
Yet I still have problems getting failover to work when I load-balanced a
Glassfish cluster with an Apache front-end. :(
Glassfish v2 UR2
Apache 2.2
mod_jk 1.2.26
AJPv13
It seemed to me that when an instance went down, glassfish somehow did not
have the data for the session with that instance, and thus in another
instance it created a new session.
I've double checked that the jvmRoute name in glassfish jvm option (for use
with AJP) matched those in apache's workers.properties file, as done in this
link
http://blogs.sun.com/jluehe/entry/supporting_apache_loadbalancer_with_glassfish