Mantis - Resin
Viewing Issue Advanced Details
818 minor always 01-06-06 09:15 04-06-06 09:43
ferg  
ferg  
high  
closed 3.0.17  
fixed  
none    
none 3.0.18  
0000818: content-length exceptionsn with .gif files
(rep by Thomas Moorer)

I am still having the issue serving images. I have now upgraded to 3.0.17 pro and it usually
occurs when I first boot up the laptop in the AM and access the index page (where the image is)
the first few times. After that it seems to check off and work correctly. Here is the error as
written to the log file:

[2006/01/06 10:54:04.817] java.lang.IllegalStateException:
http://www-tcm.sunbeltnetwork.com/images/goals.gif: [^] tried to write 36784 bytes with content-length
35786 (At char=60).
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.ResponseStream.lengthException(ResponseStream.java:536)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.ResponseStream.setBufferOffset(ResponseStream.java:354)
[2006/01/06 10:54:04.817] at
com.caucho.vfs.i18n.ISO8859_1Writer.write(ISO8859_1Writer.java:122)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:469)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.ResponseStream.finish(ResponseStream.java:645)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.ResponseStream.close(ResponseStream.java:764)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.AbstractHttpResponse.finish(AbstractHttpResponse.java:1949)
[2006/01/06 10:54:04.817] at
com.caucho.server.connection.AbstractHttpResponse.close(AbstractHttpResponse.java:266)
[2006/01/06 10:54:04.817] at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:195)
[2006/01/06 10:54:04.817] at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[2006/01/06 10:54:04.817] at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267)
[2006/01/06 10:54:04.817] at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:388)
[2006/01/06 10:54:04.817] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[2006/01/06 10:54:04.817] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[2006/01/06 10:54:04.817] at java.lang.Thread.run(Thread.java:613)

From the user's perspective the page takes much longer to load and once it does the offending
image either does not display or displays a fragment (at least on Safari).

Any ideas?


Notes
(0001027)
ferg   
04-06-06 09:43   
related to cache fixes