Question about "persistence" - Web Apps
We have an application that consists of a remote stateless session bean (EJB) and several JSF (Visual Web App) pages. There is also a managed session backing bean. The application is running on Glassfish V2.
We are seeing this error in our logs:
=3f8f4d90-f1fc-4716-9633-85d966f219e3;|PWC2773: Exception loading sessions from persistent storage
java.lang.ClassCastException: cannot assign instance of java.lang.String to field edu.utah.acs.student.finaidawardletterejb.AwardLetter.selectedLend
er of type edu.utah.acs.student.finaidawardletterejb.Lender in instance of edu.utah.acs.student.finaidawardletterejb.AwardLetter
The "AwardLetter" is an object held in the managed session backing bean.
I just don't understand why this object would be persisted. Can someone explain what is going on or point me to a link that describes the behavior?