[ https://issues.apache.org/jira/browse/KARAF-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186917#comment-15186917 ]
Guillaume Nodet commented on KARAF-4129: ---------------------------------------- Please open a new issue and explain how to reproduce the problem. > Installing a feature with a fragment that attaches to pax-logging-api fails > --------------------------------------------------------------------------- > > Key: KARAF-4129 > URL: https://issues.apache.org/jira/browse/KARAF-4129 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 4.0.2 > Reporter: Raúl Kripalani > Assignee: Guillaume Nodet > Fix For: 4.1.0, 4.0.5 > > Attachments: ignite-osgi-paxlogging-1.5.0-SNAPSHOT.jar > > > Installing a feature ABC that contains a fragment targeting pax-logging-api > fails with the following logs/exception: > {code} > 2015-11-19 16:46:22,402 | INFO | pool-46-thread-1 | FeaturesServiceImpl > | 8 - org.apache.karaf.features.core - 4.0.2 | Installing bundles: > 2015-11-19 16:46:22,403 | INFO | pool-46-thread-1 | FeaturesServiceImpl > | 8 - org.apache.karaf.features.core - 4.0.2 | > mvn:org.apache.ignite/ignite-log4j/1.5.0-SNAPSHOT > 2015-11-19 16:46:22,406 | INFO | pool-46-thread-1 | FeaturesServiceImpl > | 8 - org.apache.karaf.features.core - 4.0.2 | > mvn:org.apache.ignite/ignite-osgi-paxlogging/1.5.0-SNAPSHOT > 2015-11-19 16:46:22,408 | INFO | pool-46-thread-1 | FeaturesServiceImpl > | 8 - org.apache.karaf.features.core - 4.0.2 | null > 2015-11-19 16:46:22,410 | ERROR | nsole user karaf | ShellUtil > | 43 - org.apache.karaf.shell.core - 4.0.2 | Exception caught while > executing command > java.lang.IllegalStateException: Resource has no uri > at > org.apache.karaf.features.internal.service.Deployer.getBundleInputStream(Deployer.java:1372)[8:org.apache.karaf.features.core:4.0.2] > at > org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:718)[8:org.apache.karaf.features.core:4.0.2] > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1079)[8:org.apache.karaf.features.core:4.0.2] > at > org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:975)[8:org.apache.karaf.features.core:4.0.2] > at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79] > at java.lang.Thread.run(Thread.java:745)[:1.7.0_79] > {code} > Looking at source, it seems that pax-logging-api doesn't have a capability of > type {{osgi.content}} as expected by {{ResourceUtils#getUri}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)