Hi Bruce, There is an existing bug report covering this exception:
"File transfer exception on Linux" http://restlet.tigris.org/issues/show_bug.cgi?id=502 It would help if you could attach a simple reproducible test case and maybe dig into Grizzly extension code if you are more adventurous! Best regards, Jerome -----Message d'origine----- De : news [mailto:[EMAIL PROTECTED] De la part de Bruce Lee Envoye : mercredi 2 juillet 2008 22:02 A : [email protected] Objet : Random Grizzly IOException Hi, I'm testing out grizzly connector with the 1.1M4 built and I noticed that for requests takes a bit longer to generate the report, sometimes the following exceptions occurs: Jul 2, 2008 4:01:11 PM com.noelios.restlet.http.HttpServerConverter commit INFO: Exception intercepted java.io.IOException: Unable to write to the non-blocking channel. Unable to sele ct the channel to write to it. Selection timed out. at org.restlet.util.ByteUtils$NbChannelOutputStream.write(ByteUtils.java:219) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:203) at java.io.Writer.write(Writer.java:140) at org.restlet.resource.StringRepresentation.write(StringRepresentation.java:19 9) at org.restlet.resource.StreamRepresentation.write(StreamRepresentation.java:59 ) at com.noelios.restlet.http.HttpServerCall.writeResponseBody(HttpServerCall.jav a:545) at com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:484 ) at com.noelios.restlet.http.HttpServerConverter.commit(HttpServerConverter.java :394) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:96) at com.noelios.restlet.ext.grizzly.HttpParserFilter.execute(HttpParserFilter.ja va:68) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolCh ain.java:124) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:75) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.jav a:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57 ) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:154) This happens maybe every few other requests and hence renders the extension unusable. I'm wondering if this is a known issue with the extension or there is something I need to configure to avoid hitting this error. My environment is as follows: jdk1.6.0_06 restlet 1.1m4 grizzly 1.7.3 (also tried 1.8.0, the same error) The output is a XML file converted to String object, stored with StringRepresentation. Regards,

