[ https://issues.apache.org/jira/browse/KARAF-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15179942#comment-15179942 ]
ASF subversion and git services commented on KARAF-4129: -------------------------------------------------------- Commit 5c9f502a917cf0d1d79ee91b818925ae154a0854 in karaf's branch refs/heads/master from [~gnt] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=5c9f502 ] [KARAF-4129] Installing a feature with a fragment that attaches to pax-logging-api fails > 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 > 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)