You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Hassan Abolhassani <Ha...@razorfish.com> on 2002/08/19 08:45:41 UTC

Internal Servlet Error

On JDK1.3/Tomcat 4/Cocoon 2.0.3 I receiv following error for some pages:

Can anybody tell me what might be wrong and how I can resolve it.

Hassan Abolhassani

--
Error: 500
Location: ...
Internal Servlet Error:

java.lang.IllegalStateException: can't reset buffer after writing to client
	at org.apache.tomcat.core.Response.reset(Response.java:264)
	at org.apache.tomcat.facade.HttpServletResponseFacade.reset(HttpServletResponseFacade.java:295)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1074)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
	at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
	at org.apache.tomcat.core.Handler.service(Handler.java:235)
	at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
	at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
	at java.lang.Thread.run(Thread.java:479)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Internal Servlet Error

Posted by Bernhard Huber <be...@a1.net>.
hi,

>On JDK1.3/Tomcat 4/Cocoon 2.0.3 I receiv following error for some pages:
>
>Can anybody tell me what might be wrong and how I can resolve it.
>  
>
I think that you receive this in case of that some response is already 
written to the client, and
you try to reset the servlet response, read the servlet spec closely 
about the servlet response reset
behaviour.
i 'm not 100% sure, but that might be the reason.
bye bernhard



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org