当前位置: 首页 > java, resin > 正文

resin error — java.lang.IllegalStateException: sendError() forbidden after buffer has been committed.

today My Resin’s log has some error. make me  mass. 

My site Use Resin3.1.3+Struts2+Hibernate3+oracle10g …

the website reports the error code of 500

500 Servlet Exception
java.lang.IllegalStateException: sendError() forbidden after buffer has been committed.
 at com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:460)
 at org.apache.struts.action.RequestProcessor.processMapping(RequestProcessor.java:665)
 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:191)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:488)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:353)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:957)
 at _jsp._zhengfu._zhijian._xzsp__jsp._jspService(zhengfu/zhijian/xzsp.jsp:131)
 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:190)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
 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:591)
 at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)
 at java.lang.Thread.run(Thread.java:619)
=================================

and the jvm’s log show this:

java.lang.IllegalStateException: sendError() forbidden after buffer has been committed.
  at com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:485)
  at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:760)
  at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:513)
  at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
  at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:76)
  at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
  at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:241)
  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:586)
  at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:690)
  at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:612)
  at java.lang.Thread.run(Thread.java:619)

I don’t know what’s cause this error, may by the struts ?

I find this site about a resin’s bug:

http://bugs.caucho.com/view.php?id=1684   resin3.*

thereis no replay for the error?

Can any one tell me the reason?

 

本文固定链接: https://www.2hei.net/2008/03/05/java_lang_illegalstateexception/ | 2hei.net

该日志由 u2 于2008年03月05日发表在 java, resin 分类下,
原创文章转载请注明: resin error — java.lang.IllegalStateException: sendError() forbidden after buffer has been committed. | 2hei.net

resin error — java.lang.IllegalStateException: sendError() forbidden after buffer has been committed.:目前有4 条留言