Despite searching the plugin docs and general searching, I can’t find an answer to this one. The closest I’ve gotten is the end of this page, which seems to describe setting a Tomcat timeout. There is an entire section of the plugin docs titled “Configuration Settings Now in Config.groovy”, is there no way to configure timeout for the plugin without involving the container’s settings?
Despite searching the plugin docs and general searching, I can’t find an answer to
Share
The plugin doesn’t have settings for session duration – it just uses whatever is configured for the whole app. You can do this by editing web.xml (run
grails install-templatesif you haven’t yet) and editsrc/templates/war/web.xml. Addbefore the
welcome-file-listelement and set thesession-timeoutvalue to whatever number of minutes you want it to be.