We have weblogic configured in 2 managed server clusters. Requests go through a load balancer that (presumably) has been configured for sticky sessions. However, our requests bounce between managed nodes, as if sticky sessions were not configured.
One thing I noticed is that the JSESSIONID cookie sometimes replaces the hashes of the primary and secondary servers. They must remain unchanged throughout the user's session.
eg. we see
Request 1, JSESSIONID=ABCDEFG...!SERVER1HASH!SERVER2HASH Request 2, JSESSIONID=ABCDEFG...!SERVER2HASH!SERVER1HASH Request 3, JSESSIONID=ABCDEFG...!SERVER1HASH!SERVER2HASH
And sometimes we even see that the hash is set to "NONE", as if this member of the cluster is no longer there:
Request 4, JSESSIONID=ABCDEFG...!SERVER1HASH!NONE
Does anyone know why primary and secondary servers will switch this way?
source share