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

Missing features file in the system directory of the distribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1, 3.0.0
    • karaf
    • None
    • windows

    Description

      karaf is not starting with the default delivery.
      It raises an exception :

      16:04:43,527 | WARN | rint Extender: 1 | FeaturesServiceImpl | res.internal.FeaturesServiceImpl 911 | 23 - org.apache.karaf.features.core - 2.2.0 | Unable to add features repository mvn:org.apache.karaf.assemblies.features/enterprise/2.2.0/xml/features at startup
      java.lang.RuntimeException: URL [mvn:org.apache.karaf.assemblies.features/enterprise/2.2.0/xml/features] could not be resolved.
      at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
      at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:49)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:199)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:210)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:909)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_16]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_16]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_16]
      at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_16]
      at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.0]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)[10:org.apache.aries.blueprint:0.3.0]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_16]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_16]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_16]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_16]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)[:1.6.0_16]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_16]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_16]
      at java.lang.Thread.run(Thread.java:619)[:1.6.0_16]

      The two following files are missing :
      system\org\apache\karaf\assemblies\features\enterprise\2.2.0\enterprise-2.2.0-features.xml
      system\org\apache\karaf\assemblies\features\standard\2.2.0\standard-2.2.0-features.xml

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            hervbarr Hervé Barrault
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: