• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems with EAR deployment

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When creating an ear-file (using ant 1.6.3) I get an EAR file that I can perfectly examin with the jar tool, I can even unzip it. All jars within can be unzipped as well. The ear file does contain an META-INF/application.xml file as well as a META-INF/sun-application.xml file but whenever I try to deploy, I get an error indicating that there are problems with the zip file.

Running the verifier manually on the ear file gives the following:

---------------------------
STATIC VERIFICATION RESULTS
---------------------------


----------------------------------
NUMBER OF FAILURES/WARNINGS/ERRORS
----------------------------------
# of Failures : 0
# of Warnings : 0
# of Errors : 1

-----------------------------------------------------
ERRORS THAT OCCURED WHILE RUNNING STATIC VERIFICATION
-----------------------------------------------------

Error Name : Could not verify successfully.
Error Description : java.io.IOException: error in opening zip file
at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:189)
at com.sun.enterprise.tools.verifier.VerificationHandler.init(VerificationHandler.java:121)
at com.sun.enterprise.tools.verifier.VerificationHandler.<init>(VerificationHandler.java:55)
at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:74)
at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)
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:204)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.sun.enterprise.deployment.archivist.InputJarArchive.getJarFile(InputJarArchive.java:204)
at com.sun.enterprise.deployment.archivist.InputJarArchive.open(InputJarArchive.java:193)
at com.sun.enterprise.deployment.archivist.JarArchiveFactory.openArchive(JarArchiveFactory.java:41)
at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:84)
at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:59)
at com.sun.enterprise.deployment.backend.EarExploder.explodeEjbs(EarExploder.java:80)
at com.sun.enterprise.deployment.backend.EarExploder.explode(EarExploder.java:63)
at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:179)
... 4 more



Anyone an idea where to look?
 
reply
    Bookmark Topic Watch Topic
  • New Topic