Karaf
  1. Karaf
  2. KARAF-656

kar deployer service not exported

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.2.1, 3.0.0
    • Fix Version/s: 2.2.2, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None
    • Environment:

      windows, linux

      Activity

      Hide
      Jean-Baptiste Onofré added a comment -

      The Kar deployer export the package:
      org.apache.karaf.deployer.kar;uses:="org.w3c.dom,org.xml.sax,org.apache.felix.fileinstall,javax.xml.parsers,org.apache.karaf.features,org.slf4j";version=2.2.0

      The Kar deployer service is available under the org.apache.felix.fileinstall.ArtifactInstaller interface.

      So, if you want to use it, you should take a reference to service using org.apache.felix.fileinstall.ArtifactInstaller interface.

      Apache Karaf :: Deployer :: Karaf Archive (.kar) (26) provides:
      ---------------------------------------------------------------
      objectClass = org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactInstaller
      osgi.service.blueprint.compname = karArtifactInstaller
      service.id = 36


      objectClass = org.osgi.service.blueprint.container.BlueprintContainer
      osgi.blueprint.container.symbolicname = org.apache.karaf.deployer.kar
      osgi.blueprint.container.version = 2.2.0
      service.id = 37

      Show
      Jean-Baptiste Onofré added a comment - The Kar deployer export the package: org.apache.karaf.deployer.kar;uses:="org.w3c.dom,org.xml.sax,org.apache.felix.fileinstall,javax.xml.parsers,org.apache.karaf.features,org.slf4j";version=2.2.0 The Kar deployer service is available under the org.apache.felix.fileinstall.ArtifactInstaller interface. So, if you want to use it, you should take a reference to service using org.apache.felix.fileinstall.ArtifactInstaller interface. Apache Karaf :: Deployer :: Karaf Archive (.kar) (26) provides: --------------------------------------------------------------- objectClass = org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactInstaller osgi.service.blueprint.compname = karArtifactInstaller service.id = 36 objectClass = org.osgi.service.blueprint.container.BlueprintContainer osgi.blueprint.container.symbolicname = org.apache.karaf.deployer.kar osgi.blueprint.container.version = 2.2.0 service.id = 37
      Hide
      Jamie goodyear added a comment -

      Fixed in Apache Karaf 2.2.2.

      Show
      Jamie goodyear added a comment - Fixed in Apache Karaf 2.2.2.

        People

        • Assignee:
          Jean-Baptiste Onofré
          Reporter:
          Dan Tran
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development