users@grizzly.java.net

Timeout excpetion whith Grizzly 2.1.3

From: Gay David (Annecy) <"Gay>
Date: Mon, 24 Oct 2011 12:30:58 +0000

Hi all,

I've got an exception in Grizzly 2.1.3 while under an heavy upload test.

Basically, I've got this exception :

java.io.IOException: java.util.concurrent.TimeoutException
                at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleRead(TCPNIOTransportFilter.java:97)
                at org.glassfish.grizzly.filterchain.TransportFilter.handleRead(TransportFilter.java:182)
                at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
                at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:286)
                at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:223)
                at org.glassfish.grizzly.filterchain.DefaultFilterChain.read(DefaultFilterChain.java:370)
                at org.glassfish.grizzly.filterchain.FilterChainContext.read(FilterChainContext.java:525)
                at org.glassfish.grizzly.http.server.io.InputBuffer.fill(InputBuffer.java:869)
                at org.glassfish.grizzly.http.server.io.InputBuffer.read(InputBuffer.java:331)
                at org.glassfish.grizzly.http.server.NIOInputStreamImpl.read(NIOInputStreamImpl.java:76)
                (...)
Caused by: java.util.concurrent.TimeoutException
                at org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorReader.read(TemporarySelectorReader.java:137)
                at org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorReader.read(TemporarySelectorReader.java:85)
                at org.glassfish.grizzly.AbstractReader.read(AbstractReader.java:67)
                at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleRead(TCPNIOTransportFilter.java:84)
                ... 14 more

Have someone a clue what could be a possible cause ?
Is there a property somewhere to increase the timeout ?
And would it helps to increase this value or does it hide another problem ?

Thanks for any tips.
Regards
David