When ever I try to deploy the Cocoon portal on Resin I get this error:
500 Servlet Exception
java.lang.IllegalStateException: can't clear response after writing headers
at
com.caucho.server.http.ResponseStream.clear(ResponseStream.java:201)
at com.caucho.server.http.Response.reset(Response.java:1256)
at com.caucho.server.http.Response.reset(Response.java:1238)
at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:1115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter
(FilterChainServlet.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:311)
at com.caucho.server.http.CacheInvocation.service
(CacheInvocation.java:135)
at com.caucho.server.http.RunnerRequest.handleRequest
(RunnerRequest.java:342)
at com.caucho.server.http.RunnerRequest.handleConnection
(RunnerRequest.java:272)
at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
at java.lang.Thread.run(Thread.java:536)
You can go visit the page at
http://www.atlantalinklist.com/cocoon2/sunspotdemo
<http://www.atlantalinklist.com/cocoon2/sunspotdemo> -
portal
Does anyone know how to fix it?