Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18847

Failed to validate the content of JARs|WARs with prepended shell script.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 6.7.3, 6.5.15
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      • We use spring-boot a lot and create executable JARs and WARs with a prepended Bash-Script.
      • Artifactory is unable to index these JARs and WARS correctly after an upload and does not allow to browse these.
      • It shows the content indicator (i.e. >) so you would expect you are able to dive into the file but the UI just refuses to show the content and in the log file we get:
        2019-03-26 10:40:17,642 [http-nio-8081-exec-88] [ERROR] (o.a.u.r.m.a.b.t.n.a.ArchiveEntriesTree:64) - Failed to get zip Input Stream: Unexpected record signature: 0X622F2123
        
      • What is even worse:
        • We proxy the repository of another in-house Artifactory instance and are unable to fetch these kind of artifacts at all and get:
          2019-03-26 10:22:09,838 [http-nio-8081-exec-1] [WARN ] (o.a.r.ArtifactoryResponseBase:125) - Sending HTTP error code 409: Failed to validate the content of 'example-org-repo-cache:com/example/cad/sample/sampleservice/sample-service-uimag/1.211.0/sample-service-uimag-1.211.0.war': Could not find entries within the archive.
          

      (We run 6.7.3, the other instance is at 6.5.15)

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                nadavy Nadav Yogev [X] (Inactive)
                Reporter:
                mfriedenhagen Mirko Friedenhagen
                Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: