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/processors/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=2452667

Reply via email to