Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Session timeout when running servlet in debugger
Session timeout when running servlet in debugger [message #1161550] Tue, 29 October 2013 21:59 Go to next message
Alain Désilets is currently offline Alain DésiletsFriend
Messages: 1
Registered: October 2013
Junior Member
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. -->

Re: Session timeout when running servlet in debugger [message #1169083 is a reply to message #1161550] Sun, 03 November 2013 20:02 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1602
Registered: July 2009
Senior Member
looks like a question for the Web Tools experts, no?
Previous Topic:cant open eclipse
Next Topic:Eclipse can't find standard libs ( etc.) after Ubuntu upgrade / system rebuild
Goto Forum:

Current Time: Mon Jun 18 06:24:04 GMT 2018

Powered by FUDForum. Page generated in 0.01535 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top