Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2462

Preferences Service does not work in the presence of the Security Service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • framework.security-1.2.0, prefs-1.0.4
    • None
    • None
    • Java 5 on OS X 10.5, but that's most likely irrelevant

    Description

      Trying to install the Prefs 1.0.4 bundle into a Felix container in which Security 1.2.0 is installed results in this stack trace:

      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.prefs [2]: Unable to resolve 2.0: missing requirement [2.0] package; (package=org.apache.felix.prefs) - [2.0] package; (package=org.apache.felix.prefs)
      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)

      Using Prefs 1.0.4 without the security framework works fine; Felix version is 3.0.1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            udittmer Ulf Dittmer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: