[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
GnuJSP "tried to write more than content length"
I am using JavaWebServer 1.1.3, GnuJSP 1.0.1 and I have also repeated
the problem with GnuJSP 1.0.0.
Every few pages I get this exception reported to the browser:
------------------------------------------------------------------
500 Internal Server Error
The servlet named "gnujsp", at the requested URL
http://sr-ecby03-01:18080/whatever/somejsp.jsp
reported this exception:
java.io.IOException: tried to write more than content length at
java.lang.Throwable.(Compiled Code) at
java.lang.Exception.(Compiled Code) at
java.io.IOException.(Compiled Code) at
sun.servlet.http.HttpOutputStream.check(Compiled Code) at
sun.servlet.http.HttpOutputStream.write(Compiled Code) at
com.sun.server.webserver.HttpOutputStream.write(Compiled Code)
at
java.io.OutputStreamWriter.flushBuffer(Compiled Code) at
java.io.OutputStreamWriter.flush(Compiled Code) at
java.io.PrintWriter.flush(Compiled Code) at
org.gjt.jsp.JspWriterImpl.flush(Compiled Code) at
org.gjt.jsp.JspWriterImpl.close(Compiled Code) at
jsp__polar1_2e4__s_login_2ejsp._jspService(Compiled Code) at
org.gjt.jsp.HttpJspPageImpl.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
org.gjt.jsp.JspServlet$Page.process(Compiled Code) at
org.gjt.jsp.JspServlet.service(Compiled Code) at
javax.servlet.http.HttpServlet.service(Compiled Code) at
com.sun.server.ServletState.callService(Compiled Code) at
com.sun.server.ServletManager.callServletService(Compiled Code)
at
com.sun.server.webserver.HttpServiceHandler.handleRequest(Compiled
Code) at
com.sun.server.webserver.HttpServiceHandler.handleRequest(Compiled
Code) at com.sun.server.HandlerThread.run(Compiled Code)
The administrator of this web server should resolve this problem.
------------------------------------------------------------------
Simply reloading the page causes the correct output to be displayed.
Performance of GnuJSP with JavaWebServer 1.1.3 is very good but for
this one problem - I cannot really expect users to keep pressing
reload!
Can anyone shed any light on this?
Thanks for your help
Stuart Butler
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie