Hello, Are you working on a Mac? Are you able to get the XML representation of the items resource?
Best regards, Thierry Boileau > Hi all, > > Just getting started with RESTlet v1.1 and trying to figure out why I'm > getting this error. I can run the First Resource sample application just > fine using the FirstResourceClientMain code. But if I try to access the > resources through a web browser (e.g. > http://localhost:8182/firstResource/items) I get an error (see below). Am I > doing something wrong here? > > Thanks! > Tim > > The sample code I'm using is at: > http://www.restlet.org/documentation/1.1/firstResource > > This is the error: > > WARNING: Unable to shutdown server socket > java.net.SocketException: Socket is not connected > at sun.nio.ch.SocketChannelImpl.shutdown(Native Method) > at > sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640) > at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360) > at > com.noelios.restlet.http.StreamServerCall.complete(StreamServerCall.java:102) > at > com.noelios.restlet.http.HttpServerConverter.commit(HttpServerConverter.java:417) > at > com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:148) > at > com.noelios.restlet.http.StreamServerHelper$ConnectionHandler.run(StreamServerHelper.java:86) > 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:637) > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2434937 > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2434964

