First: I apologize for how little I know on this subject. I am a non-web
Java guy who has been brought in on an emergency where I work. I fully acknowledge that I am out of my element.
The code in question stores and retrieves values in the session object. However, it appears to me that we are actually dealing with multiple session objects (at least that is one possible explanation).
We are dealing with
JSF,
JSP, and plain old
servlets; a JSP page invokes the plain old servlet:
The plain old servlet and the backing bean are trying to
exchange values via the session object ... however the results are very strange. We do not appear to be getting back the same data we put in. In fact, in some instances it appears we are getting back data that was entered several hours previously in a completely different run.
On top of all this, we are running in a clustered environment so different things may well be executing on different boxes. We didn't uncover this behavior until they promoted to the cluster.
The JSF accesses the session like this:
The servlet accesses the session like this:
Any suggestions would be greatly appreciated.
RonA