That's the first thing I thought too. However I don't see anything in the logs to indicate this. Also when sessionWillPassivate() is called I am logging all session attributes to make sure there is nothing non serializable there.
-----Original Message----- From: Caldarale, Charles R [mailto:[email protected]] Sent: Friday, April 08, 2011 2:05 PM To: Tomcat Users List Subject: RE: HttpSessionActivationListener sessionDidActivate not getting called > From: Aggarwal, Ajay [mailto:[email protected]] > Subject: HttpSessionActivationListener sessionDidActivate not getting called > Lately I am seeing that sessionDidActivate() does not get called upon > tomcat restart, even though sessionWillPassivate() is called. Also even > though sessionWillPassivate() is called, I don't see the session > persistence file being created (the one that I specified in > conf/context.xml <context><Manager pathname="xxx"> ). Perhaps you are now storing something in the session that is not serializable. I would expect some log entries indicating such if that's the case. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
