Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tomcat 5.0.25 persisting session data by default ?!?

843841Nov 29 2004 — edited Apr 7 2009
This is, I imagine, a dumb question, but I can't quite figure out what is happening by looking at past postings.

When I start Tomcat I get an error : "IOException while loading persisted sessions" because some classes we use are not serializable. That makes sense - we didn't design them to be serialized.

I understand that Tomcat CAN try to persist session data across restarts. However, I do not want it to do this. I thought this was something we had to configure, but it looks like it happens by default (?)

Anyway ... any advice about how to prevent this behavior, at least for our app, would be appreciated ... really puzzled ... !

Thanks in advance for any help you can give !!

ethan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2009
Added on Nov 29 2004
10 comments
687 views