karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Westerfeld (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2269) Servicemix Specs Activator/OsgiLocator Broken due to KARAF-2136
Date Tue, 16 Apr 2013 16:33:15 GMT
Kurt Westerfeld created KARAF-2269:

             Summary: Servicemix Specs Activator/OsgiLocator Broken due to KARAF-2136
                 Key: KARAF-2269
                 URL: https://issues.apache.org/jira/browse/KARAF-2269
             Project: Karaf
          Issue Type: Bug
          Components: karaf-config
    Affects Versions: 2.3.1
            Reporter: Kurt Westerfeld
            Priority: Critical

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message