Hi Raif, Thanks for the updates. I'm glad you found a solution!
The conclusion, there is an integration issue between Tomcat 6.0, JDK 6 and Restlet 1.1... We need to have a look as it might be a common scenario. Do you have some reproducible code (ideally a WAR with source would be perfect) that could help us debug this? Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : Raif S. Naffah [mailto:[EMAIL PROTECTED] Envoye : mercredi 3 decembre 2008 10:33 A : discuss@restlet.tigris.org Objet : Re: Restlet and Java 6 hello again, On Wednesday 03 December 2008 06:46:39 pm Raif S. Naffah wrote: > hello Mark, > > On Wednesday 03 December 2008 09:50:38 am Mark Derricutt wrote: > > We used to get LOTS of JVM crashes with Restlet under JDK 6 update 10, > > the "solution" (aka work around) was to add: > > > > -XX:CompileCommand=exclude,com/noelios/restlet/http/HeaderReader,readVa > >lu e > > > > to our JVM init script, having hotspot recompile that method all the > > time seemed to trigger very ungraceful behaviour. > > i'll give that a go with jdk6u11 which btw. also didn't work. if it > works i'll post a reply to this thread so other users may benefit. the above did not work. the input stream returned (as it was before) an EOF --last call that is not returning the correct (read expected) characters is a sun.nio.cs.StreamDecoder.read([char,int,int) although the (Restlet) Entity.getSize() and .getAvailableSize() both return the right length. i switched to Jetty (6.1.14) and everything works with jdk1.6.0_11. thanks everybody for your help. > > On Wed, Dec 3, 2008 at 10:32 AM, Stephan Koops <[EMAIL PROTECTED]> > > wrote: > > > Hi Raif, > > > > > > if you use the JAXB extension of Restlet, you could get some > > > problems, because Java 6 contains JAXB in a different version, I > > > think. > > > > > > If you need it and will have a good solution, Jerome and Thierry will > > > be happy, if you could contribute. > > > > > > best regards > > > Stephan > > > > > > Raif S. Naffah schrieb: > > >> java version "1.6.0_10" > > > > > > ------------------------------------------------------ > > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageI > > >d= 978537 > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=97 >8728 cheers; rsn ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=978780 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=979015