Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003619 [Resin] minor always 08-03-09 09:49 08-12-09 17:47
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.2 Product Version 4.0.1
  Product Build
Summary 0003619: Chunked encoding with programmatically specified Content-Length produces IllegalStateException
Description On behalf of Matthew Schmidt
contents:
- a stack trace from Matt
- a finer logging


----stack trace-----
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} WebApp[http://www.inputlogic.com] [^] java.lang.IllegalStateException: http://www.inputlogic.com/a4j/g/3_3_1.GAscripts/tiny_mce/themes/advanced/skins/richfaces/ui.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf: [^] tried to write 18604 bytes with content-length 18335 (At char=46). Check that the Content-Length header correctly matches the expected bytes, and ensure that any filter which modifies the content also suppresses the content-length (to use chunked encoding).
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} java.lang.IllegalStateException: http://www.inputlogic.com/a4j/g/3_3_1.GAscripts/tiny_mce/themes/advanced/skins/richfaces/ui.xcss/DATB/eAGTcz60MXT5DGkAD2IDhA__.jsf: [^] tried to write 18604 bytes with content-length 18335 (At char=46). Check that the Content-Length header correctly matches the expected bytes, and ensure that any filter which modifies the content also suppresses the content-length (to use chunked encoding).
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ResponseStream.lengthException(ResponseStream.java:661)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ResponseStream.setBufferOffset(ResponseStream.java:464)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.vfs.i18n.ISO8859_1Writer.write(ISO8859_1Writer.java:134)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:488)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ToByteResponseStream.flushBuffer(ToByteResponseStream.java:441)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ResponseStream.flush(ResponseStream.java:691)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ResponseStream.flushChar(ResponseStream.java:739)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.connection.ResponseWriter.flush(ResponseWriter.java:174)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at org.ajax4jsf.webapp.CacheContent.flush(CacheContent.java:319)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:217)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
[09-08-03 10:12:28.329] {http-208.91.135.85:80-15} at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)


-----finer logging-----
[09-08-03 09:35:15.958] {http--8080-12} Dispatch '/a4j/s/3_3_1.GA/org/richfaces/skin.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' to WebAppFilterChain[http://localhost:8080/richfaces-demo, [^] next=FilterFilterChain[org.jboss.seam.servlet.SeamFilter@211b3993]]
[09-08-03 09:35:16.620] {http--8080-12} Http[12] HTTP/1.1 200 OK
[09-08-03 09:35:16.621] {http--8080-12} Http[12] X-Powered-By: JSF/1.2
[09-08-03 09:35:16.621] {http--8080-12} Http[12] Cache-control: max-age=86400
[09-08-03 09:35:16.621] {http--8080-12} Http[12] Last-Modified: Mon, 03 Aug 2009 16:34:36 GMT
[09-08-03 09:35:16.621] {http--8080-12} Http[12] Expires: Tue, 04 Aug 2009 16:35:16 GMT
[09-08-03 09:35:16.621] {http--8080-12} Http[12] Content-Type: text/css
[09-08-03 09:35:16.621] {http--8080-12} Http[12] Content-Length: 86539
[09-08-03 09:35:16.621] {http--8080-12} Http[12] write-chunk4(8192)
[09-08-03 09:35:16.622] {http--8080-12} Http[12] write-data(7)
[09-08-03 09:35:16.623] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.623] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.624] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.624] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.625] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.625] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.626] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.626] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.627] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.627] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.628] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.628] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.628] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.629] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.629] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.629] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.630] {http--8080-12} Http[12] write-chunk2(8192)
[09-08-03 09:35:16.630] {http--8080-12} Http[12] write-chunk3(269)
[09-08-03 09:35:16.631] {http--8080-12} WebApp[http://default/richfaces-demo] [^] java.lang.IllegalStateException: http://localhost:8080/richfaces-demo/a4j/s/3_3_1.GA/org/richfaces/skin.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf: [^] tried to write 88960 bytes with content-length 86539 (At char=45). Check that the Content-Length header correctly matches the expected bytes, and ensure that any filter which modifies the content also suppresses the content-length (to use chunked encoding).
[09-08-03 09:35:16.631] {http--8080-12} java.lang.IllegalStateException: http://localhost:8080/richfaces-demo/a4j/s/3_3_1.GA/org/richfaces/skin.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf: [^] tried to write 88960 bytes with content-length 86539 (At char=45). Check that the Content-Length header correctly matches the expected bytes, and ensure that any filter which modifies the content also suppresses the content-length (to use chunked encoding).
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ResponseStream.lengthException(ResponseStream.java:661)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ResponseStream.setBufferOffset(ResponseStream.java:464)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.vfs.i18n.ISO8859_1Writer.write(ISO8859_1Writer.java:134)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:488)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ToByteResponseStream.flushBuffer(ToByteResponseStream.java:441)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ResponseStream.flush(ResponseStream.java:691)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ResponseStream.flushChar(ResponseStream.java:739)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.connection.ResponseWriter.flush(ResponseWriter.java:174)
[09-08-03 09:35:16.631] {http--8080-12} at org.ajax4jsf.webapp.CacheContent.flush(CacheContent.java:319)
[09-08-03 09:35:16.631] {http--8080-12} at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:217)
[09-08-03 09:35:16.631] {http--8080-12} at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
[09-08-03 09:35:16.631] {http--8080-12} at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
[09-08-03 09:35:16.631] {http--8080-12} at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
[09-08-03 09:35:16.631] {http--8080-12} at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[09-08-03 09:35:16.631] {http--8080-12} at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
[09-08-03 09:35:16.631] {http--8080-12} at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
[09-08-03 09:35:16.631] {http--8080-12} at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:264)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:250)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:562)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:501)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1119)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1047)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1078)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:874)
[09-08-03 09:35:16.631] {http--8080-12} at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:787)
[09-08-03 09:35:16.633] {http--8080-12} Http[12] write-chunk3(2467)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004113)
alex
08-03-09 13:41

qa: server/05e(c|d)
 
(0004119)
ferg
08-12-09 17:47

server/05ee
 

- Issue History
Date Modified Username Field Change
08-03-09 09:49 alex New Issue
08-03-09 13:41 alex Note Added: 0004113
08-03-09 14:43 alex Note Added: 0004114
08-12-09 17:47 ferg Note Added: 0004119
08-12-09 17:47 ferg Assigned To  => ferg
08-12-09 17:47 ferg Status new => closed
08-12-09 17:47 ferg Resolution open => fixed
08-12-09 17:47 ferg Fixed in Version  => 4.0.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker