Client --> Restlet hosted in Tomcat, redirects --> Restlet using internal server in another process.
Firstly if I use the internal HttpClient connector, this fails very frequently and for very small posts. With the Apache httpclient a larger post is possible, but it still fails (frequency is size dependent). Using apache httpclient, the destination restlet encounters this: p-1: java.lang.IndexOutOfBoundsException p-1: at java.io.PushbackInputStream.read(PushbackInputStream.java:153) p-1: at org.restlet.engine.http.io.ChunkedInputStream.read(ChunkedInputStream .java:198) p-1: at org.restlet.engine.http.io.ChunkedInputStream.read(ChunkedInputStream .java:203) p-1: at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java :2266) p-1: at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream .java:2279) p-1: at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS tream.java:2750) p-1: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780 ) p-1: at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280) p-1: at org.restlet.representation.ObjectRepresentation.<init>(ObjectRepresen tation.java:73) p-1: at uk.co.optrak.roadmap.web.server.roadmap.connection.RoadmapConnectionR esource.handle(RoadmapConnectionResource.java:32) With the internal httpclient the exception usually complains of receiving just CR instead of CRLF when reading the chunk size. Any suggestions? ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2684390

