More details on the problem would help ... but since I'm seeing Athlon SMP
in your uname, I'd suspect you may be getting JVM crashes when the JVM
recompiles certain classes? If so, it's a JDK bug that you can work around
by blocking certain classes from recompilation. Or is it something else?
Doh!!
Ok, so I've done that, now I'm getting an NPE here, this code worked
fine in 1.0.x:
client.getContext().getParameters().add(converter,
com.noelios.restlet.http.HttpClientConverter);
client.getContext().getParameters().add(connectionManagerTimeout, 100);
My code is hanging here (while trying to do a HTTP get) - any ideas?
Thread [main] (Suspended)
Object.wait(long) line: not available [native method]
MultiThreadedHttpConnectionManager.doGetConnection(HostConfiguration,
long) line: 518
That seems to have cracked it - thanks!
Ian.
On Tue, Dec 2, 2008 at 11:10 AM, Jerome Louvel
[EMAIL PROTECTED] wrote:
Hi Ian,
Are you consuming your response entities fully?
If not, you can use the release() method if necessary.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead
I'm creating a HTTP listener and calling Component.stop() after every
method in a unit test, and I keep getting exceptions complaining that
the listen port is already in use. This even happened after I
introduced a 1/2 second delay. When I switch this to only create the
listener before the
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
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,readValue
to our JVM init script, having hotspot recompile that method all the
time seemed to trigger very ungraceful
hello Rob,
On Wednesday 03 December 2008 01:11:39 am Rob Heittman wrote:
More details on the problem would help ... but since I'm seeing Athlon
SMP in your uname, I'd suspect you may be getting JVM crashes when the
JVM recompiles certain classes? If so, it's a JDK bug that you can work
hello Stephan,
On Wednesday 03 December 2008 08:32:21 am Stephan Koops 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.
no i'm not using it.
If you need it and will have a good solution,
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,readValu
e
to our JVM init script,
10 matches
Mail list logo