I have this configuration in my application.yml
server:
contextPath: /appname
session:
timeout: 7200 # 2 hours in seconds
This works fine when i run in Intellij IDEA, but when i deploy the build .war file to a tomcat instance this is ignored. Is this a bug or is it not expected to work like this?
Also i seem to be unable to locate a specification of what can be written in application.yml. Anyone know where this can be found?
How about the application.groovy config file? Cant seem to locate a specification for this?
My environment:
- Grails version: 3.2.8
- Gradle version: 3.4.1
- Intellij IDEA version: 2017.1.2
- Tomcat version: 8.0.26 JDK Version: 1.8.0_45