Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3822

Unable to deploy without Bundle-ManifestVersion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.0.Final
    • OSGi
    • None
    • Hide

      Deploy a bundle without Bundle-ManifestVersion or with Bundle-ManifestVersion: 1 in its manifest. You can take net.sf.jasperreports.jasperreports.jar as an example.

      Show
      Deploy a bundle without Bundle-ManifestVersion or with Bundle-ManifestVersion: 1 in its manifest. You can take net.sf.jasperreports.jasperreports.jar as an example.

      Affects version 1.1.5, included in JBoss 7.1.final.
      OSGI-specification r4.core.pdf chapter 3.5.7 holds the rules for legacy (version 1) bundles.
      According to that a bundle without Bundle-ManifestVersion must be handles as Bundle-ManifestVersion: 1.
      Neither a bundle having Bundle-ManifestVersion: 1, not without a Bundle-ManifestVersion does deploy at all. You can only see "Starting deployment of ..." in the log, nothing else happens.
      See attached log file for a test showing the deployment of a bundle without/with version-1/with versio-2 ManifestVersion.

            tdiesler@redhat.com Thomas Diesler
            r.neubauer@seeburger.de Rico Neubauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: