| Author |
java.lang.IllegalStateException: Response already committed
|
Sumanth Kalidindi
Greenhorn
Joined: Feb 22, 2012
Posts: 3
|
|
I have been getting this error message daily but it has not been causing any user issues. But, I still want to get to the root of the issue or atleast solve the issue from reappearing. Can anyone please help me out.
Errors I have been facing
OS: Windows NT 6.0
Essbase Admin Servies in Hyperion (11.1.2.0)
Weblogic 10.3.2.0
<Feb 18, 2012 11:14:42 AM PST> <Error> <HTTP> <myservername> <EssbaseAdminServices0> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1329592482434> <BEA-101020> <[ServletContext@34644240[app:EAS module:easconsole path:/easconsole spec-version:null version:11.1.2.0]] Servlet failed with Exception
java.lang.IllegalStateException: Response already committed
at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1591)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:614)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:592)
at com.sun.javaws.servlet.JnlpDownloadServlet.handleRequest(JnlpDownloadServlet.java:126)
at com.sun.javaws.servlet.JnlpDownloadServlet.doGet(JnlpDownloadServlet.java:79)
at com.essbase.eas.server.WebStartDownloadServelet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
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:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Please let me know how to overcome this error and what might be the reason for the error. Thanks in advance.
|
 |
Saurabh Pillai
Ranch Hand
Joined: Sep 12, 2008
Posts: 449
|
|
|
If my memory serves correctly,this exception occurs if you try to modify response object after you have performed either sendRedirect or forward.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12266
|
|
As I recall it is due to trying to modify the response headers after the first bufferload of response stream has been sent. Frequently due to writing some to the response and then forwarding or redirecting.
The indicated fix is to decide on redirecting or forwarding before anything gets written to the response output stream.
Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: java.lang.IllegalStateException: Response already committed
|
|
|