Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1562

OSGI needed manifest modifications

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.1.1, 2.0.7
    • Component/s: Bus
    • Labels:
      None

      Description

      The manifest for cxf needs to specify

      Bundle-ClassPath: .,cxf-2.0.5-incubator.jar

      and not just

      Bundle-ClassPath: cxf-2.0.5-incubator.jar

      (or whatever the jar is called now). That is add the . (root directory)

      Also

      add

      META-INF.services

      to the Export-Package list

      The reason is that BusFactory.getBusFactoryClass can't load 'META-INF/services/org.apache.cxf.bus.factory' from an OSGI class loader without it.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              dbrosius David Brosius
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: