How to Configure the Session Timeout for Jetty


If I am accessing Datameer instance via a web browser, I get logged out after while and need to login again. How can I extend the time slot before getting logged out? 


To increase the session timeout from the default of 30 mins you will need to modify the web.xml file located in the following directory:

Datameer 4: <datameer-install-path>/webapps/ROOT/WEB-INF
Datameer 5: <datameer-install-path>/webapps/conductor/WEB-INF

At the end of this file, you will see a <session-config> section such as this.


Once you have changed the value, you will need to restart Datameer for the change to take effect.

Further information

The <datameer-install-path>/etc/webdefault.xml is a file which is applied to a web application BEFORE the application's own <datameer-install-path>/webapps/ROOT/WEB-INF/web.xml. Therefore a change there would have no affect.