> AH!  *So*, the theory here is that I am generating more than 
> the 8kb of data, which is being autocommited to the browser, 
> then an error occurs and the servlet cannot send the error, 
> but instead raises this exception.  Got it.
> 
> In fact, I write a large form back in html.  If the last 
> element were to be
> null, and I try to write out a value thus:

Sadly, I raised the memory to 500kb, carried on developing and just got this
a fwe minutes ago:

Error: 500

Location: /pod_users/justin/jsp/form.jsp

Internal Servlet Error:

java.lang.IllegalStateException: Response has already been committed
        at
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon
seFacade.java:157)
        at
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
        at java.lang.Thread.run(Thread.java:484)

Which again leaves me none the wiser in terms of tracing the error.

HOWEVER I have just had a realisation.  I had just altered and rebuilt some
of the classes that operate behind the scenes and one of them had failed and
so wasn't present in the .jar file.  I corrected it and rebuild the .jar and
the error went away.

Now, I would have expected an error about not being able to instantiate the
class, but the above is what I got (simply reproduceable too I should
think).  Is this a bug?  I guess not, just a feature of how the containter
falls over when you pull the rug out from under its feet.

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to