Application session invalidated
As a Control Tower user, you can face one of the following issues:
- You are uploading a heavy bundle from the UI or Postman, and the request gets timed out.
- You are performing actions in the UI, and the session gets invalidated.
Tomcat terminates the session using a background thread. By default, the thread checks for expiring sessions every minute. Once session-timeout defined in web.xml is hit (30 minutes by default), the session is invalidated, and all new requests require authentication.
To address the issues, increase the session timeout:
Log in to the required Control Tower instance via SSH.
In
/opt/workfusion/workfusion/conf/web.xml, increase the<session-timeout>tag to the desired value:<session-config> <tracking-mode>COOKIE</tracking-mode> <session-timeout>60</session-timeout> </session-config>To apply the change, restart Control Tower with the
wfamanger restart workfusioncommand.
View also: