1 Reply Latest reply on Sep 7, 2010 11:58 PM by Dan Allen

    Problems with servlet containers

    Stuart Douglas Master

      I have been trying to test seam-persistence in a servlet container (both jetty and tomcat), however I keep running into this exception:

       

      Caused by: java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:114)
              at java.util.zip.ZipFile.<init>(ZipFile.java:131)
              at org.jboss.weld.environment.servlet.deployment.URLScanner.handleArchiveByFile(URLScanner.java:142)
      Caused by: java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:114)
              at java.util.zip.ZipFile.<init>(ZipFile.java:131)
              at org.jboss.weld.environment.servlet.deployment.URLScanner.handleArchiveByFile(URLScanner.java:142)
      

       

      The zip that it is dying on is one of the libraries I have deployed to WEB-INF/lib, opening the zip manually works fine.

       

      I get this as part of weld-servlets scanning process in both tomcat and jetty with no detail message as to what is wrong with the zip, does anyone have any idea's?