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

Unable to deploy KAR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0.M3
    • 4.0.0
    • karaf
    • None

    Description

      2015-04-14 10:21:43,635 | WARN  | -SNAPSHOT/deploy | KarServiceImpl                   | 34 - org.apache.karaf.kar.core - 4.0.0.SNAPSHOT | Unable to add repository 'test/test-feature/0.1/test-0.1-feature.xml'
      java.io.IOException: URI is not absolute : test/test-feature/0.1/test-0.1-feature.xml
      	at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:85)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.loadRepository(FeaturesServiceImpl.java:379)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:399)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:390)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.kar.internal.KarServiceImpl.addToFeaturesRepositories(KarServiceImpl.java:193)[34:org.apache.karaf.kar.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.kar.internal.KarServiceImpl.install(KarServiceImpl.java:94)[34:org.apache.karaf.kar.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.kar.internal.KarServiceImpl.install(KarServiceImpl.java:85)[34:org.apache.karaf.kar.core:4.0.0.SNAPSHOT]
      	at org.apache.karaf.deployer.kar.KarArtifactInstaller.install(KarArtifactInstaller.java:50)[25:org.apache.karaf.deployer.kar:4.0.0.SNAPSHOT]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:931)[4:org.apache.felix.fileinstall:3.5.0]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:865)[4:org.apache.felix.fileinstall:3.5.0]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:482)[4:org.apache.felix.fileinstall:3.5.0]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[4:org.apache.felix.fileinstall:3.5.0]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[4:org.apache.felix.fileinstall:3.5.0]
      Caused by: java.lang.IllegalArgumentException: URI is not absolute
      	at java.net.URI.toURL(URI.java:1095)[:1.7.0_76]
      	at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:80)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
      	... 12 more
      

      Attachments

        1. test-0.1.kar
          22 kB
          Alexey Markevich

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            amarkevich Alexey Markevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: