The issue I'm having with Simple continues with the latest release. Of
interest, it seems to be when I'm pulling the informaion from the server
using IE that I'm getting the expection - if pulling it off the server
with my own code (using the restlet client there is not a problem). I
remove the Staxmate statement that closes the stream, but I'm stilling
getting the same problem.
Here's the stack trace if its any help.
22/10/2006 06:19:10 com.noelios.restlet.impl.http.HttpServerConverter
commit
INFO: Exception intercepted
java.io.IOException: Stream closed
at simple.http.ResponseStream.ensureOpen(Unknown Source)
at simple.http.ResponseStream.flushBuffer(Unknown Source)
at simple.http.ResponseStream.flush(Unknown Source)
at
com.noelios.restlet.impl.http.HttpServerCall.sendResponse(HttpServerCall.java:228)
at
com.noelios.restlet.ext.simple.SimpleCall.sendResponse(SimpleCall.java:164)
at
com.noelios.restlet.impl.http.HttpServerConverter.commit(HttpServerConverter.java:84)
at
com.noelios.restlet.impl.http.HttpServerHelper.handle(HttpServerHelper.java:79)
at
com.noelios.restlet.ext.simple.SimpleServerHelper.handle(SimpleServerHelper.java:122)
at simple.http.Dispatcher.run(Unknown Source)
at simple.util.process.Daemon.execute(Unknown Source)
at simple.util.process.Daemon.run(Unknown Source)
AJ
Quoting Jerome Louvel <[EMAIL PROTECTED]>:
>
> Hi all,
>
> I've solved it by removing the first "close". The fix will be part of
> the
> next beta 19 snapshot due today.
>
> Zohar, AJ, could you test this fix and let me know if it work fine with
> STaX
> and FreeMarker?
>