Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4028

karaf-wrapper-main.jar generated by wrapper is corrupted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 4.0.2
    • Fix Version/s: 4.0.2, 3.0.6
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      MacOS, Linux, Win 7, Java 7 & 8

    • Flags:
      Patch

      Description

      Times to times, the Tanuki wrapper fail on Class not found for main class.
      When I try to extract files from karaf-wrapper-main.jar I have :
      $ jar -xvf ../karaf-wrapper-main.jar
      décompressé : org
      java.io.IOException: org : impossible de créer le répertoire
      at sun.tools.jar.Main.extractFile(Main.java:1064)
      at sun.tools.jar.Main.extract(Main.java:981)
      at sun.tools.jar.Main.run(Main.java:311)
      at sun.tools.jar.Main.main(Main.java:1288)

      This is caused by the missing trailing / in all directories entry in the archive.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              frouleau Frédérik ROULEAU
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: