View Full Version : Issues about Resin 4.0.4 with JSF 1.2

03-09-2010, 05:56 AM
Hi eveyone, I am new to Resin.

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. (I thought I may missed some configuration.)

03-10-2010, 05:08 PM
Hi dynamo2,

Can you try this on the latest Resin snapshot? There was an issue fixed recently which might address your problem as well. You can grab it from here:



03-15-2010, 03:17 PM
Hi Emil,

Thank you for your reply.
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-name>Resources Servlet</servlet-name>
<!-- Set GzipEnabled to false, otherwise it will cause issue in Resin 4.0.4 to get resource file. -->

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.


03-15-2010, 06:55 PM
Hi Fan,

Thanks for finding the issue. It sounds like a bug may have been introduced since 3.1 in the content-length header. I filed a bug for it here: