I was a getting a harmlous excpetion :
<4/06/2002 16:48:04> <Error> <HTTP> <Servlet execution in
servlet context "WebAppServletContext(5985988,root,/root)" failed, java.net.ProtocolException:
Didn't meet stated Content-Length, wrote: '7358
4' bytes instead of stated: '94440' bytes.
java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
'73584' bytes instead of stated: '94440' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:413)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:974)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1964)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
I read about it on this newsgroup, and I saw some people suggesting to flush the output streams with ( out.flush()).
But this is weird, doesn't Weblogic flush the output streams by itself??
I had the same application running on tomcat before and everything
was fine, I didn't have to flush the output streams with tomcat
And what is the consequence of not flushing the output streams.
Thanks guys
Itani
"Mohamed Itani" <mohame...@softsolutions.fr> wrote in message news:3CFCD811...@softsolutions.fr...
I use some Oreilly classes (com.oreilly.servlet.MultipartRequest) to
intercept some POST data; Is there anyone who knows if these classes
can cause the ProtocolException problem?
Bye
Luca
"Vinod Mehra" <vme...@bea.com> wrote in message news:<3cfcf200$1...@newsgroups2.bea.com>...
> --