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

Error installing feature even if requirements should be present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 4.0.0
    • None
    • karaf
    • None

    Description

      Unpack and start plain apache-karaf-4.0.0
      Download feature file to karaf dir.

      feature:repo-add file:req-issue.xml
      feature:install req-issue

      It will show the exception below. The strange thing is that the requirements should be present.


      Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=bug1; type=karaf.feature; version="[1.0.0,1.0.0]"; filter:="(&(osgi.identity=bug1)(type=karaf.feature)(version>=1.0.0)(version<=1.0.0))" [caused by: Unable to resolve bug1/1.0.0: missing requirement [bug1/1.0.0] osgi.identity; osgi.identity=org.eclipse.ecf.remoteservice.asyncproxy; type=osgi.bundle; version="[1.0.0.v20140410-1838,1.0.0.v20140410-1838]"; resolution:=mandatory [caused by: Unable to resolve org.eclipse.ecf.remoteservice.asyncproxy/1.0.0.v20140410-1838: missing requirement [org.eclipse.ecf.remoteservice.asyncproxy/1.0.0.v20140410-1838] osgi.ee; filter="(&(|(osgi.ee = J2SE)(osgi.ee = JavaSE))(version >= 1.5)(!(version >= 1.8)))"]]

      Attachments

        1. req-issue.xml
          0.5 kB
          Christian Schneider

        Activity

          People

            Unassigned Unassigned
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: