Clean startup

Hi Forum,

It looks like Vaadin now implements saving the GUI state between runs. So if I restart tomcat, the GUI state will pick up where it left.

Is there any way to avoid this? I’d prefer a clean restart every time.

Bo,
Monty Program AB.

Yes, you can disable the session persistence via the context.xml configuration file.

For more details on how to achieve this check out this forum thread:

http://vaadin.com/forum/-/message_boards/message/36767


<!-- Uncomment this to disable session persistence across Tomcat restarts -->
3<!--
4<Manager pathname="" />
5-->

Thanks to the both of you, this did indeed work.

It might be a good idea to put this note somewhere very visible, because it seems this is necessary during development. I lost almost a full day yesterday trying to figure out very odd things, that just worked again after I switched the session serialization off.

It’s possible this note is somewhere visible. I started out coding my app with 5.3, so I haven’t read all docs after updating to 6.0.

Bo.

Agreed. Created a ticket:
http://dev.vaadin.com/ticket/3069