[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6962) java.util.zip.ZipException: error in opening zip file

Jakub Białek (JIRA) noreply at atlassian.com
Thu Jan 12 08:47:14 EST 2012


java.util.zip.ZipException: error in opening zip file
-----------------------------------------------------

                 Key: HHH-6962
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6962
             Project: Hibernate ORM
          Issue Type: Bug
          Components: entity-manager
    Affects Versions: 3.6.9
         Environment: hibernate 3.6.9, spring 3.0.7.RELEASE, jboss 5.1, java 1.6.0_30 (sun), debian 64 bit
            Reporter: Jakub Białek
            Priority: Minor


After moving from hibernate 3.6.8 to 3.6.9 below stacktrace has appeared in logs when application is deployed:
{code}
WARN  [org.hibernate.ejb.packaging.FileZippedJarVisitor] (HDScanner) Unable to find file (ignored): vfszip:/srv/jboss-5.1.0.GA/server/debugprfile/deploy/mywar.war/WEB-INF/lib/domain.jar/
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:127)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:72)
        at org.hibernate.ejb.packaging.FileZippedJarVisitor.doProcessElements(FileZippedJarVisitor.java:65)
        at org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:146)
        at org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:192)
        at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:497)
        at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:851)
        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:594)
        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
 ......
{code}
Application deploys correctly but this error didn't appear in 3.6.8.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the hibernate-issues mailing list