Yes, Jetty or Simple connectors are recommended for production work. The internal connector is convenient during initial development phases but needs more work.
Best, Jerome 2013/6/15 Borislav Iordanov <bo...@miamidade.gov> > I also tried removing jetty from the picture, but then I started getting > an old friend: > > java.io.IOException: The thread blocked at the cyclic barrier has timed > out. > at > org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:197) > at > org.restlet.engine.io.NbChannelInputStream.onFill(NbChannelInputStream.java:230) > at org.restlet.engine.io.Buffer.process(Buffer.java:601) > at > org.restlet.engine.io.NbChannelInputStream.read(NbChannelInputStream.java:307) > at java.io.InputStream.read(InputStream.java:101) > at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:239) > at > org.restlet.representation.Representation.exhaust(Representation.java:247) > at > org.restlet.engine.connector.ServerOutboundWay.onMessageCompleted(ServerOutboundWay.java:174) > at > org.restlet.engine.connector.HttpServerOutboundWay.onMessageCompleted(HttpServerOutboundWay.java:118) > at > org.restlet.engine.connector.OutboundWay.processIoBuffer(OutboundWay.java:468) > at org.restlet.engine.connector.Way.onSelected(Way.java:456) > at > org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325) > at > org.restlet.engine.connector.Connection.onSelected(Connection.java:617) > at > org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325) > at > org.restlet.engine.connector.ConnectionController.onSelected(ConnectionController.java:219) > at > org.restlet.engine.connector.ServerConnectionController.onSelected(ServerConnectionController.java:99) > at > org.restlet.engine.connector.ConnectionController.selectKeys(ConnectionController.java:308) > at > org.restlet.engine.connector.ConnectionController.doRun(ConnectionController.java:171) > at org.restlet.engine.connector.Controller.run(Controller.java:159) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > Caused by: java.util.concurrent.TimeoutException > at > java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:250) > at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:427) > at > org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:191) > > > so jetty is unavoidable. > > I'd happily try to implement my own Representation, and perhaps get a > better idea of what's happening at a lower level, but with no documentation > it's not very inviting to make such an attempt. > > Thanks > Boris > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3058190 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3058207