[
https://hibernate.onjira.com/browse/HHH-6962?page=com.atlassian.jira.plug...
]
Piotr Findeisen commented on HHH-6962:
--------------------------------------
Affects also release 4.1.1, though the exception message is slightly different:
{code}
16:35:28,252 WARN [FileZippedJarVisitor] HHH015010: Unable to find file (ignored):
vfszip:/opt/JBoss-5.1.0.GA/server/default/deploy/my.ear/my.war/WEB-INF/classes/
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:69)
at
org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:148)
at org.hibernate.ejb.packaging.NativeScanner.getFilesInJar(NativeScanner.java:190)
at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:503)
at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:851)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:596)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
{code}
Note: {{my.war}} is inside {{my.ear}} and it has non-empty {{WEB-INF/classes}}. I am
running JBoss AS 5.1.0 GA.
java.util.zip.ZipException: error in opening zip file
-----------------------------------------------------
Key: HHH-6962
URL:
https://hibernate.onjira.com/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