java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using DataSource in Websphere
    via by 843797,
  • Cannot forward. Writer or Stream already obtained
    via by Ravi Kumar Ravuru,
  • ERROR: Cannot forward. Response already committed.
    via by Christo Angelov,
  • Recursive error when a servlet call another servlet under WAS
    via by PDT WEB - Veille technologique,
    • java.lang.IllegalStateException: ERROR: Cannot forward. Writer or Stream already obtained. at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:95) at jsp.CopyForwardMediator_jsp_3.gotoPage(CopyForwardMediator_jsp_3.java:44) at jsp.CopyForwardMediator_jsp_3._jspService(CopyForwardMediator_jsp_3.java:164) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:286) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:532) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:718) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:428) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:870) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:788) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:439) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:239) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:104) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:61) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:132) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67) at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:271) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:49) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:303) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:232) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
    No Bugmate found.