JSF2 on Jetty gives randomly 'zip file closed' but works when running from maven jetty plugin (jetty:run)

前端 未结 3 1787
栀梦
栀梦 2020-12-30 16:52

my JSF web app is giving randomly error: \"zip file closed\" when accessing files (like images, css, js). It is deployed on Jetty 7. It looks like some of those files are no

3条回答
  •  青春惊慌失措
    2020-12-30 17:32

    This issue has been fixed in jetty-7.6.0.RC2. The bug is caused by the JVM caching jar url connection streams.

    According to the bug report, you will need to also add the following to the jetty.xml:

     false
    

提交回复
热议问题