java.lang.IllegalStateException: forward() not allowed after buffer has
committed.
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:139)
at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:363)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:180)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: forward() not allowed after buffer has
committed.
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:139)
at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:363)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:180)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
at java.lang.Thread.run(Unknown Source)
Is there a fix?
Best regards
Carsten Sann
Hello Carsten,
maybe you can fix this error by increasing the MySQL max_allowed_packet setting in your my.cnf. This solved it for me.
Just try max_allowed_packet=16M in the [mysqld] section of your my.cnf. Restart the MySQL server and off you go.