Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003946 [Resin] minor always 03-15-10 11:52 01-20-11 13:16
Reporter emil View Status public  
Assigned To ferg
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.14 Product Version 4.0.4
  Product Build
Summary 0003946: content length issues with spring faces & gzip
Description (rep by dynamo2)

And I got an issue when I run a JSF based web application in Resin 4.0.4:
When I try to open a page, I wait long time and no response in page. Then I shutdown the resin, after the resin was shutted down, the page was displayed.

I used JSF Facelet 1.1+MyFace 1.2+RichFaces 3.3 and Resin server is run on windows 7, 64bits. (To use my own JSF libs, I removed JSF libs from resin/lib.)

There was no such issue in Resin 3.1.10. But it seems in 3.1.10, it cannot reload the class file as what server did in 4.0.4.
Steps To Reproduce
Additional Information Finally, I found that was an issue with Spring Faces.

I have to add following setting to avoid this issue in Resin 4.0.4:

<servlet>
        <servlet-name>Resources Servlet</servlet-name>
        <servlet-class>org.springframework.js.resource.ResourceServlet</servlet-class>
        <!-- Set GzipEnabled to false, otherwise it will cause issue in Resin 4.0.4 to get resource file. -->
        <init-param>
            <param-name>GzipEnabled</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>0</load-on-startup>
</servlet>

Otherwise the, the actually returned data length is less than context-length in http response header. It will cause the browser has no reponse and waiting for download.
Attached Files

- Relationships

- Notes
(0004981)
ferg
01-20-11 13:16

server/183t

Resin's gzip properly modifies the content-length
 

- Issue History
Date Modified Username Field Change
03-15-10 11:52 emil New Issue
03-15-10 11:53 emil Summary content length issues with spring faces => content length issues with spring faces & gzip
03-15-10 11:53 emil Description Updated
01-20-11 13:16 ferg Note Added: 0004981
01-20-11 13:16 ferg Assigned To  => ferg
01-20-11 13:16 ferg Status new => closed
01-20-11 13:16 ferg Resolution open => no change required
01-20-11 13:16 ferg Fixed in Version  => 4.0.14


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