Hi Sopasakis, Looking at the code, this shouldn't happen normally. Could you enter a bug report with the precise version/environment and stack trace? Then, we'll need to find a way to reproduce it :) http://restlet.tigris.org/issues/enter_bug.cgi
If this is blocking you, I suggest using another connector such as Jetty. Best regards, Jerome Louvel -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : Sopasakis Pantelis [mailto:[email protected]] Envoyé : vendredi 26 février 2010 19:31 À : [email protected] Objet : Random Grizzly NIO Exception Dear all, I'm using Restlet 2.0 m7 and I have a resource that returns a large URI list (about 10000 thousands URIs or more) upon a GET request. In general everything seem to work without bugs in my application except for that resource which every now and then throws an IOException with message "Unable to write to the non-blocking channel. Unable to select the channel to write to it. Selection timed out.". It looks like the issue reported here: http://www.mail-archive.com/[email protected]/msg05941.html Is there a way to avoid this exception? Note also that the problem is not reproduced for smaller URI lists or smaller representations in general. My source code can be found online at the following URLs : http://github.com/alphaville/yaqp-turbo/blob/master/src/org/opentox/www/rest /resources/ModelsResource.java http://github.com/alphaville/yaqp-turbo/blob/master/src/org/opentox/io/proce ssors/OutputProcessor.java http://github.com/alphaville/yaqp-turbo/blob/master/src/org/opentox/www/rest /Applecation.java The application is deployed and the resource for which the exception is thrown is found at http://opentox.ntua.gr:3000/model I would appreciate any help, thank you in advance, Sopasakis Pantelis Dipl. Chemical Engineer, MSc. Applied Mathematics National Technical University of Athens Automatic Control Laboratory email: [email protected] tel(office): +30 210 7723236 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24526 67 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2464872

