Petals ESB Container

Component deployment error when copying zip in install/

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: 3.1
  • Fix Version/s: None
  • Security Level: Public
  • Description:
    Hide

    Exception when copying component zip in install/ directory. Randomly (and seldom...) happens.
    Probably the deployment thread tries to deploy before the component zip is fully copied... and then takes a "corrupt" zip.
    Re-deploying the same zip is normally successful.

    Exception stack follows (before successful re-deployment of the same zip):

    [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,285 Unable to read a JBI descriptor
    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:75)
    at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:132)
    at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,287 Unable to read a JBI descriptor
    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:75)
    at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:148)
    at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,288 Unable to read a JBI descriptor
    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:75)
    at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361)
    at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:165)
    at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,288 The archive 'petals-bc-presto-1.0-SNAPSHOT.zip' remains in the install list. PEtALS deletes it

    Show
    Exception when copying component zip in install/ directory. Randomly (and seldom...) happens. Probably the deployment thread tries to deploy before the component zip is fully copied... and then takes a "corrupt" zip. Re-deploying the same zip is normally successful. Exception stack follows (before successful re-deployment of the same zip): [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,285 Unable to read a JBI descriptor 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:75) at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:132) at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,287 Unable to read a JBI descriptor 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:75) at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:148) at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,288 Unable to read a JBI descriptor 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:75) at org.ow2.petals.jbi.management.util.PackageHelper.loadDescriptor(PackageHelper.java:126) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.getJBIArchives(AutoLoaderServiceImpl.java:361) at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:165) at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) [Petals.AutoLoaderServiceImpl]-WARNING 2010-08-25 16:59:49,288 The archive 'petals-bc-presto-1.0-SNAPSHOT.zip' remains in the install list. PEtALS deletes it
  • Environment:
    Linux Ubuntu

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
5m 9s
1
Roland Naudin
Wed, 25 Aug 2010 - 17:12:36 +0200

People

Dates

  • Created:
    Wed, 25 Aug 2010 - 17:07:27 +0200
    Updated:
    Mon, 9 May 2011 - 09:59:28 +0200