PlanetJava
Custom Search

java-restlet
[Top] [All Lists]

RE: Re: Restlet Put Method infinite loop

Subject: RE: Re: Restlet Put Method infinite loop
Date: Mon, 7 May 2012 13:47:57 -0700 (PDT)
Thanks, I will look into using the alternate connector.
FYI, the exception was occurring with Restlet 2.1 RC4 J2SE
------
May 7, 2012 8:40:51 PM org.restlet.util.SelectionRegistration block
WARNING: Unable to block the thread at the cyclic barrier
java.util.concurrent.TimeoutException
        at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
        at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:399)
        at 
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:179)
        at 
org.restlet.engine.io.NbChannelInputStream.onFill(NbChannelInputStream.java:228)
        at org.restlet.engine.io.Buffer.process(Buffer.java:597)
        at 
org.restlet.engine.io.NbChannelInputStream.read(NbChannelInputStream.java:305)
        at java.io.InputStream.read(InputStream.java:82)
        at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:238)
        at 
org.restlet.representation.Representation.exhaust(Representation.java:247)
        at 
org.restlet.engine.connector.ServerOutboundWay.onCompleted(ServerOutboundWay.java:174)
        at 
org.restlet.engine.connector.HttpServerOutboundWay.onCompleted(HttpServerOutboundWay.java:117)
        at 
org.restlet.engine.connector.OutboundWay.processIoBuffer(OutboundWay.java:409)
        at org.restlet.engine.connector.Way.onSelected(Way.java:412)
        at 
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:295)
        at 
org.restlet.engine.connector.Connection.onSelected(Connection.java:603)
        at 
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:295)
        at 
org.restlet.engine.connector.ConnectionController.onSelected(ConnectionController.java:200)
        at 
org.restlet.engine.connector.ServerConnectionController.onSelected(ServerConnectionController.java:99)
        at 
org.restlet.engine.connector.ConnectionController.selectKeys(ConnectionController.java:273)
        at 
org.restlet.engine.connector.ConnectionController.doRun(ConnectionController.java:153)
        at org.restlet.engine.connector.Controller.run(Controller.java:158)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
May 7, 2012 8:40:51 PM org.restlet.engine.connector.ServerOutboundWay 
onCompleted
WARNING: Unable to automatically exhaust the request entity.
java.io.IOException: Unable to block the thread at the cyclic barrier.
        at 
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:183)
        at 
org.restlet.engine.io.NbChannelInputStream.onFill(NbChannelInputStream.java:228)
        at org.restlet.engine.io.Buffer.process(Buffer.java:597)
        at 
org.restlet.engine.io.NbChannelInputStream.read(NbChannelInputStream.java:305)
        at java.io.InputStream.read(InputStream.java:82)
        at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:238)
        at 
org.restlet.representation.Representation.exhaust(Representation.java:247)
        at 
org.restlet.engine.connector.ServerOutboundWay.onCompleted(ServerOutboundWay.java:174)
        at 
org.restlet.engine.connector.HttpServerOutboundWay.onCompleted(HttpServerOutboundWay.java:117)
        at 
org.restlet.engine.connector.OutboundWay.processIoBuffer(OutboundWay.java:409)
        at org.restlet.engine.connector.Way.onSelected(Way.java:412)
        at 
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:295)
        at 
org.restlet.engine.connector.Connection.onSelected(Connection.java:603)
        at 
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:295)
        at 
org.restlet.engine.connector.ConnectionController.onSelected(ConnectionController.java:200)
        at 
org.restlet.engine.connector.ServerConnectionController.onSelected(ServerConnectionController.java:99)
        at 
org.restlet.engine.connector.ConnectionController.selectKeys(ConnectionController.java:273)
        at 
org.restlet.engine.connector.ConnectionController.doRun(ConnectionController.java:153)
        at org.restlet.engine.connector.Controller.run(Controller.java:158)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.concurrent.TimeoutException
        at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
        at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:399)
        at 
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:179)
        ... 24 more
May 7, 2012 8:40:51 PM org.restlet.engine.log.LogFilter afterHandle
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2958396
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • RE: Restlet Put Method infinite loop
    • Re: Restlet Put Method infinite loop
      • RE: Re: Restlet Put Method infinite loop
        • RE: Re: Restlet Put Method infinite loop
      • RE: Re: Restlet Put Method infinite loop,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy