users@glassfish.java.net

Re: GRIZZLY0023: Interrupting idle Thread: ...

From: <forums_at_java.net>
Date: Thu, 2 Jun 2011 04:19:20 -0500 (CDT)

Just small remark, the processing willl be interrupted even if your servlet
sends/receives some data. It's just a general time limit servlet (or
something built on top of servlet) may occupy a thread during processing one
single HTTP request.

Regarding your observation, that another thread starts ones this one gets
killed - most probably it's HTTP client (web browser) just automatically
retries to send the same HTTP request.

If you know your servlet execution going to take longer time - you'd probably
need to increase the timeout value as Ryan suggested, or use servlet 3.0
async compatibilities.


--
[Message sent by forum member 'oleksiys']
View Post: http://forums.java.net/node/808052