Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2269

Servicemix Specs Activator/OsgiLocator Broken due to KARAF-2136

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      Bug https://issues.apache.org/jira/browse/KARAF-2136, KARAF-2136, "fixes" a misspelled configuration setting. Unfortunately, the 1.9.0 version of specs, for example, JSR-311 (JAX-RS), stop working when this fix is in place. The breakage is due to an invalid timeout value setting of zero (0). A workaround is to simply set the value to non-zero, such as 100.

      What is happening is that the OsgiLocator provided by Servicemix specs locator, is having a timeout of 0 set. When this is the case, no lookups occur whatsoever in its internal registry. As a result, ClassNotFoundExceptions occur, when a usage of this class attempts to lookup any bundle that provides an implementation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                kwesterfeld Kurt Westerfeld
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: