Servlet failed with Exception java.lang.IllegalStateException: Response already committed at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1602) at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:625) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:118) at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:906) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:586) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:78) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at frame.commons.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:35) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Jia, which is the production system , there are hundreds of thousands of daily PV capacity , a problem to be a complaint , but did not find where the problem lies , and ask experts to figure it out, online, thank you !
------ Solution ---------------------------------------- ----
plus
response.getWriter (). close ();
------ For reference only ---------------------------------- -----
me too good on the tomcat , I use struts2, yet to be solved ?
------ For reference only -------------------------------------- -
this error message too clear.
------ For reference only -------------------------------------- -
did not solve Oh, continue to wait for the answer ! And on the second floor , like tomcat cluster before no problem , move to weblogic cluster appeared on this problem.
------ For reference only -------------------------------------- -
I think Results posted ah, no answer , points also to send out !
------ For reference only -------------------------------------- -
weblogic next holding a mistake you can try this way
in the use of response before you call repsonse.reset ();
after use calling out.clear (); out = pageContext.pushBody (); behind the words may be spelled wrong, and you try to use the IDE know
I used to do the verification code encountered this problem , tomcat on easy , weblogic is reported on this error
------ For reference only ------------- --------------------------
Support
没有评论:
发表评论