VocBench/ShowVoc Timeout

40 views
Skip to first unread message

Craig Matadeen

unread,
May 29, 2024, 3:33:35 PMMay 29
to vocbench-user
Hi all,  is it possible to extend the inactivity/session timeout for VocBench and ShowVoc? When working between multiple windows it would be nice to increase this timeout without always having to login into VocBench/ShowVoc again. Thanks.

Manuel Fiorelli

unread,
May 31, 2024, 7:20:32 PMMay 31
to Craig Matadeen, vocbench-user
Dear Craig,

VocBench 12.x with its new architecture based on Spring Boot and PF4J now supports session timeout configuration, which is what you are looking for.
This can be accomplished by editing the config/application.yml configuration file and adding following property value (in the example, the timeout is 60 minutes):

server.servlet.session.timeout: 60m

If you are running VocBench with the dockerfiles we provide and you don't want to modify them, a possible solution is to pass the former as an additional command line argument to the running container. In fact, you can do this by setting the ST_OPTS environment variable for the container with a value like --server.servlet.session.timeout=60m
In Docker Compose, you can do this by adding an environment attribute to the services describing VocBench or ShowVoc like that:

environment:
  ST_OPTS: --server.servlet.session.timeout=60m


If you don't want to modify the docker compose file, you can put the above in an override file.

Regards,
Manuel

On Wed, May 29, 2024 at 9:33 PM Craig Matadeen <craig.m...@fao.org> wrote:
Hi all,  is it possible to extend the inactivity/session timeout for VocBench and ShowVoc? When working between multiple windows it would be nice to increase this timeout without always having to login into VocBench/ShowVoc again. Thanks.

--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vocbench-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/707ed691-c4bd-4896-934a-a39d3b70e813n%40googlegroups.com.


--
Manuel Fiorelli
Reply all
Reply to author
Forward
0 new messages