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.

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:

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

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.


Agreed. Created a ticket: