Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-764

Override Apache Felix Framework to 3.0.8 version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.3.0
    • None
    • 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).

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: