geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Xiao (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6205) karaf features.core need a org.apache.karaf.features.cfg in etc
Date Wed, 26 Oct 2011 15:07:32 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136028#comment-13136028
] 

Yi Xiao commented on GERONIMO-6205:
-----------------------------------

Rex, I think need to add the artifact: 'mvn:org.apache.geronimo.features/openejb-feature/3.0-w20110721/xml/features'
that is specified in the org.apache.karaf.features.cfg, or it will throw the exception:
2011-10-26 23:07:50,016 WARN  [FeaturesServiceImpl] Unable to add features repository mvn:org.apache.geronimo.features/openejb-feature/3.0-w20110721/xml/feature
s at startup
java.lang.RuntimeException: URL [mvn:org.apache.geronimo.features/openejb-feature/3.0-w20110721/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:918)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
        at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
        at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)
        at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
        at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
        at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown
Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
                
> karaf features.core need a org.apache.karaf.features.cfg in etc
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-6205
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6205
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 3.0
>            Reporter: Rex Wang
>            Assignee: Rex Wang
>             Fix For: 3.0
>
>
> karaf.features.core need a org.apache.karaf.features.cfg in etc
> otherwise, the following exception will occur:
> geronimo> 2011-10-26 21:46:42,250 WARN  [FeaturesServiceImpl] Unable to add features
repository  at startup
> java.lang.IllegalArgumentException: URI is not absolute
>         at java.net.URI.toURL(URI.java:1080)
>         at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:46)
>         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:918)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
>         at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)
>         at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
>         at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
>         at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:6
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message