I have two servers that I use to run application in Grails 2.4.4
which executes scripts in Groovy
.
When a script takes more than 45 seconds to execute, the web browser returns internal error exactly on 45 second mark, but the script keeps on going until it is finished. This happens in Chrome, Firefox and Postman (Google App).
I looked through the conf
directory of Tomcat
and found connectionTimeout
property of Connector in server.xml
, but altering it and restarting the server didn't change anything.
I've also tried adding keepAliveTimeout="-1"
property to connector, but to no avail. There's session-timeout in web.xml
, but that obviously can't be it.