This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Configuring timeouts for Vaadin UI

Information about development with ProjX.

--Configuring timeouts for Vaadin UI

Postby Development@SIB » Thu Oct 20, 2016 1:35 pm

This article is outdated - please use our new system at

A JVx application has custom timeouts for master and sub session. The timeouts won't work if you use vaadin UI because a web application uses http session timeout. The vaadin documentation contains information about Session Timeout After User Inactivity.

Our WebApplicationSetup implementation overrules the session timeout properties of config.xml by setting:

Code: Select all
launcher.setParameter("Application.connection.timeout", Boolean.FALSE.toString());
launcher.setParameter("Application.subconnection.timeout", Boolean.FALSE.toString());

If set to false, the timeouts will be set to -1 (= infinitly).

This is the default behavior with WebApplicationSetup but it's also possible to configure custom timeouts for master and sub session by adding the timeout constants:

Code: Select all

as parameters to the deployment deskriptor (web.xml):
Code: Select all
    <!-- 30 minutes -->
User avatar
Posts: 313
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation