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
signature.asc
Description: This is a digitally signed message part.