当前位置: 代码迷 >> Web前端 >> webwork在weblogic上报response already committed.如何解决
  详细解决方案

webwork在weblogic上报response already committed.如何解决

热度:754   发布时间:2013-09-11 17:22:02.0
webwork在weblogic下报response already committed.怎么解决?
我的环境是weblogic8.13+webwork+spring+hibernate运行的时候报了response already committed.的错误,不知道怎么解决,希望得到各位高手的解答,但是此问题在tomcat下面没有出现过,这让我很郁闷.
下面是错误信息:
java.lang.IllegalStateException: response already committed
	at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:394)
	at com.opensymphony.webwork.dispatcher.DispatcherUtils.sendError(DispatcherUtils.java:479)
	at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:238)
	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> 
1 楼 luoben89 2007-06-07  
为什么新手贴?
2 楼 luoben89 2007-06-07  
?

我的异常网推荐解决方案:weblogic.servlet.internal.ServletResponseImpl.sendError,http://www.myexception.cn/j2ee/weblogic.servlet.internal.ServletResponseImpl.sendError.html
  相关解决方案