Resin-pro-3.0.23 jdk 1.6.0_03
Hello, I'm getting the following exception while having a Filter render HTML. com.caucho.log.EnvironmentLogger.log [0] HTTP/1.1 200 OK com.caucho.log.EnvironmentLogger.log [0] cache-control: no-cache com.caucho.log.EnvironmentLogger.log [0] expires: 1 com.caucho.log.EnvironmentLogger.log [0] Pragma: no-cache com.caucho.log.EnvironmentLogger.log [0] Content-Type: application/x-javascript com.caucho.log.EnvironmentLogger.log [0] Content-Length: 29180 com.caucho.log.EnvironmentLogger.log [0] write-chunk(16382) com.caucho.log.EnvironmentLogger.log java.lang.IllegalStateException: http://xxxx/yy: tried to write 29213 bytes with content-length 29180 (At 'u', char=117). at com.caucho.server.connection.ResponseStream.lengthException(ResponseStre am.java:548) at com.caucho.server.connection.ResponseStream.setBufferOffset(ResponseStre am.java:359) at com.caucho.vfs.i18n.UTF8Writer.write(UTF8Writer.java:155) at com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByte ResponseStream.java:469) at com.caucho.server.connection.ResponseStream.finish(ResponseStream.java:6 59) at com.caucho.server.connection.ResponseStream.close(ResponseStream.java:79 6) at com.caucho.server.connection.AbstractHttpResponse.finish(AbstractHttpRes ponse.java:1956) at com.caucho.server.connection.AbstractHttpResponse.close(AbstractHttpResp onse.java:260) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.ja va:190) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j ava:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619) com.caucho.log.EnvironmentLogger.log [0] keepalive com.caucho.log.EnvironmentLogger.log [0] keepalive (thread) I searched through google and past archives and other than a similar bug for rendering images, I couldn't find anything which might point me in the right direction. To give a brief idea on the above execution, I generate an HTML page, pass it through a SAX filter and then to a Filter which renders the HTML when I get the above error. Any help in understanding this error is appreciated. TIA, Anoop Kulkarni
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest