users@glassfish.java.net

Re: How to stop Glassfish 3.1.2 Interrupting idle Thread warning

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Wed, 21 Mar 2012 14:23:22 +0100

On 03/21/2012 02:15 PM, forums_at_java.net wrote:
> I'm ok if a get a single warning that an http thread times out and it is
> gone. The issue is the warnings repeat in an infinite loop until I
> stop/start the cluster. How can I stop the warnings without having to
> bounce the cluster?
Can you pls. provide us a thread-dump (using jstack) when this occurs?
Looks like some code catches InterruptedException and just swallowing it.
In order to disable Idle thread monitoring pls. set timeout to -1 like:

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

(this command disables idle thread monitoring for the protocol with name
"http-listener-1")

WBR,
Alexey.

>
>
> --
>
> [Message sent by forum member 'rrickell']
>
> View Post: http://forums.java.net/node/884438
>
>