|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3946 | minor | always | 03-15-10 11:52 | 01-20-11 13:16 | |
|
|
|||||
| Reporter: | emil | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.4 | ||
| Product Build: | Resolution: | no change required | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.14 | ||
|
|
|||||
| 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. |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||