java error java.lang.IllegalStateException: Cannot forward after response has been committed

+1 vote
asked May 24, 2013 in Bug by anonymous


I get several times a day this error.

May 24, 2013 8:06:01 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet plantumlservlet threw exception
java.lang.IllegalStateException: Cannot forward after response has been committed
        at org.apache.catalina.core.ApplicationDispatcher.doForward(
        at org.apache.catalina.core.ApplicationDispatcher.forward(
        at net.sourceforge.plantuml.servlet.PlantUmlServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

Could it be, that this is related to the expected input handling, as I found a similiar reference in:   and
commented May 24, 2013 by anonymous
I use two installations, one 7966 and one 7967 both as war file using tomcat to publish.
commented Jun 18, 2013 by laplasz (160 points)
same issue here

1 Answer

0 votes
answered Jun 5, 2014 by anonymous
Same issue here. Im not an expert in the field of Tomcat, Java, or PlantUML. Is there somebody who has some pointers so i can do some more research? Thanks in advanced.