error on the webapp sample

By: ivovictor - ivovictor
error on the webapp sample
2002-08-26 11:08
Just tried to run the webapp sample on weblogic 5.1...
Any help would be appreciated

java.net.ProtocolException: Exceeded stated content-length for URI /letter.jsp of: 2443 bytes
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:163)
at jsp_servlet._letter._jspService(_letter.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon Aug 26 13:42:57 EDT 2002:<E> <HTTP> Servlet request terminated with IOException:
java.net.ProtocolException: Didn't meet stated Content-Length for URI : /jasperError.jsp, wrote: '111' bytes instead of stated: '2443' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:363)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:271)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)




By: Teodor Danciu - teodord
RE: error on the webapp sample
2002-08-27 06:59

Hi,

Someone had the same problem with iText:
http://www.geocrawler.com/archives/3/8175/2002/6/100/8996084/

Here's what might be the solution:
http://www.geocrawler.com/archives/3/8175/2002/6/100/9013371/

Try to create a servlet instead of that JSP page
I've supplied.
Maybe I'll do it myself for the next version,
to enhance the sample, if this is really the cause.

Thank you,
Teodor



By: ivovictor - ivovictor
RE: error on the webapp sample
2002-08-27 10:10
Thanks,
the servlet solution works:)
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 16 years 9 months ago

0 Answers:

No answers yet
Feedback
randomness