users@glassfish.java.net

RE: GRIZZLY0023: Interrupting idle Thread: ...

From: Martin, Ray <armart3_at_tycho.ncsc.mil>
Date: Wed, 1 Jun 2011 12:42:45 -0400

Yes, this problem has killed me time and time again. I have services that could run all night. What am I to do? Set a timeout for all night - I don't think so. But, whoever heard of kicking off another thread - this corrupts all of my databases. It is horrible.

-----Original Message-----
From: admin_at_java.net [mailto:admin_at_java.net] On Behalf Of forums_at_java.net
Sent: Wednesday, June 01, 2011 12:09 PM
To: users_at_glassfish.java.net
Subject: Re: GRIZZLY0023: Interrupting idle Thread: ...

 If you for loop takes longer than 15 minutes with no actuall HTTP traffic
processing for the current request going across the wire, the current request
will be interruped/timed out.  The default timeout is 15 minutes, however
this can be adjusted.

Invoke: asadmin
set server-config.network-config.protocols.protocol.http-listener-1.http.request-timeout-seconds=NNN

NNN is the new value in seconds.


--

[Message sent by forum member 'rlubke']

View Post: http://forums.java.net/node/808052