ServiceMix 4
  1. ServiceMix 4
  2. SMX4-764

Override Apache Felix Framework to 3.0.8 version

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      By default, ServiceMix 4.3.0 uses Karaf 2.1.3. The default OSGi framework used is Apache Felix Framework 3.0.2.

      We have two issues using Felix 3.0.2:

      1/ NoClassDefFoundError: javax.xml.namespace.QName
      The workaround is to add javax.xml.namespace in the Import-Package statement of the bundles (using CXF especially).

      2/ IllegalStateException: zip file closed
      It's a known Felix bug around refresh.

      We don't have these issues using Equinox (adding karaf.framework=equinox in etc/custom.properties).

      The update to Felix 3.0.8 looks to solve the issue (I perform some tests to validate that).

        Activity

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development