title: jsf lib closed on jetty 8
body: <p>I am trying to deploy application using jetty, but the problem is that it is not loading images, but only few.</p>
  
  <p>Application is packaged in war using Maven.</p>
  
  <p>I have followed this <a href="http://www.eclipse.org/jetty/documentation/current/troubleshooting.html#troubleshooting-zip-exceptions" rel="nofollow">doc</a></p>
  
  <p>Added this context:</p>
  
  <pre><code>&lt;?xml version="1.0"  encoding="ISO-8859-1"?&gt;
   &lt;!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"&gt;
   &lt;Configure class="org.eclipse.jetty.webapp.WebAppContext"&gt;
     &lt;Set name="contextPath"&gt;/game&lt;/Set&gt;
    &lt;Set name="war"&gt;&lt;SystemProperty name="jetty.home" default="."/&gt;/webapps/game.war&lt;/Set&gt;   
    &lt;Set name="extractWAR"&gt;true&lt;/Set&gt;
     &lt;Set name="copyWebDir"&gt;true&lt;/Set&gt;
     &lt;Set name="tempDirectory"&gt;&lt;Property name="jetty.home" default="."/&gt;/work/game&lt;/Set&gt;
  &lt;/Configure&gt;
  </code></pre>
  
  <p>created work directory in home folder so jetty is unpacking all my files in specified folder.</p>
  
  <p>And created this jetty-webapp.xml</p>
  
  <pre><code>&lt;Configure id="Server" class="org.eclipse.jetty.server.Server"&gt;
  &lt;Ref id="DeploymentManager"&gt;
        &lt;Call id="webappprovider" name="addAppProvider"&gt;
          &lt;Arg&gt;
            &lt;New class="org.eclipse.jetty.deploy.providers.WebAppProvider"&gt;
              &lt;Set name="monitoredDirName"&gt;&lt;Property name="jetty.home" default="." /&gt;/webapps&lt;/Set&gt;
              &lt;Set name="defaultsDescriptor"&gt;&lt;Property name="jetty.home" default="."/&gt;/etc/webdefault.xml&lt;/Set&gt;
              &lt;Set name="tempDir"&gt;&lt;Property name="jetty.home" default="."/&gt;/work&lt;/Set&gt;
              &lt;Set name="scanInterval"&gt;1&lt;/Set&gt;
              &lt;Set name="contextXmlDir"&gt;&lt;Property name="jetty.home" default="." /&gt;/contexts&lt;/Set&gt;
      &lt;Set name="extractWars"&gt;true&lt;/Set&gt;      
            &lt;/New&gt;
          &lt;/Arg&gt;
        &lt;/Call&gt;
  &lt;/Ref&gt;
  </code></pre>
  
  <p></p>
  
  <p>But still some resources usually is not available because of zip file is closed exception. This is happening when jetty is trying to access faces jars</p>