Karaf
  1. Karaf
  2. KARAF-920

Feature autoinstall from kar failed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf-kar
    • Labels:
      None

      Description

      13:48:55,687 | INFO | container/deploy | eployer.kar.KarArtifactInstaller 281 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Found a .kar file to deploy.
      13:48:55,687 | INFO | container/deploy | eployer.kar.KarArtifactInstaller 90 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Installing D:\talend-esb-5.0-SNAPSHOT\container\deploy\Whiteboard-0.1.kar
      13:48:55,687 | INFO | container/deploy | eployer.kar.KarArtifactInstaller 233 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Added feature repository 'file:/D:/talend-esb-5.0-SNAPSHOT/container/local-repo/services/sopware/org/demo/Whiteboard/Whiteboard/Whiteboard-feature/0.1/Whiteboard-feature-0.1-feature.xml'.
      13:48:55,687 | INFO | container/deploy | eployer.kar.KarArtifactInstaller 239 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Installing KAR features ...
      13:48:55,687 | INFO | container/deploy | eployer.kar.KarArtifactInstaller 245 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Installing feature Whiteboard-feature/0.1
      13:48:55,687 | INFO | container/deploy | res.internal.FeaturesServiceImpl 418 | 15 - org.apache.karaf.features.core - 2.2.4.SNAPSHOT | Installing feature Whiteboard-feature 0.1

      ...

      13:50:42,906 | ERROR | container/deploy | res.internal.FeaturesServiceImpl 649 | 15 - org.apache.karaf.features.core - 2.2.4.SNAPSHOT | URL [mvn:services.sopware.org.demo.Whiteboard.Whiteboard/Whiteboard_write/0.1] could not be resolved.
      13:50:42,906 | WARN | container/deploy | eployer.kar.KarArtifactInstaller 248 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Can't install feature [Whiteboard-feature, 0.1]/java.lang.RuntimeException: URL [mvn:services.sopware.org.demo.Whiteboard.Whiteboard/Whiteboard_write/0.1] could not be resolved.

      Then I try to install feature manualy:
      > features:install Whiteboard-feature
      Feature installed.

        Activity

        Hide
        Alexey Markevich added a comment -
        Show
        Alexey Markevich added a comment - Already fixed: https://issues.apache.org/jira/browse/KARAF-915
        Hide
        Jean-Baptiste Onofré added a comment -

        Could you make a try with the latest Karaf 2.2.4-SNAPSHOT.

        I made a fix yesterday to install the features once ALL bundles have been extracted.

        Show
        Jean-Baptiste Onofré added a comment - Could you make a try with the latest Karaf 2.2.4-SNAPSHOT. I made a fix yesterday to install the features once ALL bundles have been extracted.
        Hide
        Jean-Baptiste Onofré added a comment -

        I tested it (with a cca.kar file) without problem. The kar file contained the features XML and all bundles of the features.

        I make a new try.

        Show
        Jean-Baptiste Onofré added a comment - I tested it (with a cca.kar file) without problem. The kar file contained the features XML and all bundles of the features. I make a new try.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development