clustering session recovery
We have setup the AS with 2 nodes and enable loadbalancer and clsutering.
Say we call node applicatoin server node A,B. When A is down the request from the client will go to B and all the values saved in session attribute can be recovered. However, when I turn on A and turn off B, I can't get back those session attributes sometimes. Why this is happening?
# 1
You have mentioned that it does not work sometimes...Is this the case or does it not work at all ? What is the exact version of appserver that you are using (asadmin version --verbose=true) ? I am assuming that you have installed and configured HADB. This looks like a strange behaviour. I have not seen this happening...Can you post the loadbalancer.xml and snippet of the error in the log file. Are you testing with the cluster samples that are shipped with the appserver ? If not, does your application have form based or basic authentication ?
Cheers,
Vasanth