|Session timeout when running servlet in debugger [message #1161550]
||Tue, 29 October 2013 21:59
| Alain Désilets
Registered: October 2013
Whenever I try to debug a servlet with the debugger, things go sort of OK. I can pause execution at breakpoints, inspect variables, etc...|
But after about 30 seconds, the session timesout and I get message:
Page load failed with error: The request timed out.
I understand that this behaviour is to be expected with a production server, i.e. the requests should time out after 30 seconds or so. But when debugging, I expect the session to stay open for as long as i need to follow the execution of the place where the bug is happening.
Is there a way to lauch tomcat or the servlet and tell it to not timeout?
I tried putting a large session-timeout in my web.xml file, but it didn't seem to make a difference:
<!-- Long session timeout so we can run the debugger and pause without the session timing out. -->
Powered by FUDForum
. Page generated in 0.01579 seconds