I have deployed a webapp in Tomcat 7, and I'm not using Eclipse, but when I run application last 10 min appear a timeout exception, exactly: Read timed out.
I've tried to change:
In web.xml
:
session-timeout 30
In server.xml
I added:
connectionTimeout="20000"
keepAliveTimeout="90"
Also I addes in startup.bin
before @echo off
:
CATALINA_OPTS=
-Dsun.net.client.defaultConnectTimeout=900000;
-Dsun.net.client.defaultReadTimeout=900000
I don't know what other parameter to configure, because always stop to 10 min.
Someone can I help me?