title: Mule deployment throws zip file closed error
body: <p>I am trying to deploy mule project which was built using ant task mulePackage to mule ee runtime 3.1.1. However, I get the following error. The same code works when I start my project as a mule app directly from eclipse IDE with Mule plugin. I tried rebuilding the app. The content of zip also seems to be correct. But the error persists.Any suggestions please..</p>
  
  <pre><code> java.lang.IllegalStateException: zip file closed
          at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)
          at java.util.zip.ZipFile.getEntry(ZipFile.java:161)
          at java.util.jar.JarFile.getEntry(JarFile.java:208)
          at java.util.jar.JarFile.getJarEntry(JarFile.java:191)
          at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:757)
          at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:735)
          at sun.misc.URLClassPath.findResource(URLClassPath.java:146)
          at java.net.URLClassLoader$2.run(URLClassLoader.java:385)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findResource(URLClassLoader.java:382)
          at java.lang.ClassLoader.getResource(ClassLoader.java:1002)
          at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1192)
          at org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
  </code></pre>
  
  <p><strong>Able to get to the actual error, below:</strong></p>
  
  <pre><code>   java.io.IOException: Unable to load resource xslt/convertrequest.xsl
  at org.mule.util.IOUtils.getResourceAsString(IOUtils.java:54)
        ....
  </code></pre>
  
  <p>My code for xsl reference:</p>
  
  <pre><code>&lt;xm:xslt-transformer xsl-file="xslt/convertrequest.xsl"&gt;
  &lt;/xm:xslt-transformer&gt;
  </code></pre>
  
  <p>The xsl file is in xslt folder which is under classes in the zip. I have seen couple of similar problems,but they were with the reference of xslt from a jar file. My case is different, it has all the xslts within the mule app zip file. What could be the issue?</p>