Mantis - Resin
Viewing Issue Advanced Details
1684 minor always 04-11-07 14:23 05-02-07 08:56
nam  
ferg  
normal  
closed 3.1.0  
fixed  
none    
none 3.1.1  
0001684: jsp:include causes "IllegalStateException: sendError() forbidden after buffer has been committed"
(rep by M. Sengbusch)

cannot send 304 "Not Modified" when buffer has been committed in PageContextImpl.include()

java.lang.IllegalStateException: sendError() forbidden after buffer has
been committed.
    at
com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttp
Response.java:460)
    at
com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttp
Response.java:447)
    at com.caucho.jsp.Page.pageservice(Page.java:562)
    at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java
:192)
    at
com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChai
n.java:97)
    at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:
159)
    at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j
ava:240)
    at
com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcher
Impl.java:490)
    at
com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcher
Impl.java:354)
    at
com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:971)
    at _jsp._jsp._index__jsp._jspService(_index__jsp.java:138)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
    at com.caucho.jsp.Page.pageservice(Page.java:577)
    at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java
:192)
    at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:
125)
    at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.ja
va:175)
    at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j
ava:240)
    at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
    at java.lang.Thread.run(Thread.java:619)

Notes
(0001892)
ferg   
05-02-07 08:56   
jsp/17ej