Feature Repository unable to be resolved by Fabric container
Issue
- Adding my own features repository file to Fabric results in an error that the features file cannot be resolved.
2013-04-02 11:30:43,468 | ERROR | agent-1-thread-1 | DeploymentAgent | e.fabric.agent.DeploymentAgent$1 241 | 67 - org.fusesource.fabric.fabric-agent - 7.1.0.fuse-047 | Unable to update agent
java.io.IOException: URL [mvn:com.example/my-feature/1.0/xml/features] could not be resolved. : mvn:com.example/my-feature/1.0/xml/features
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:240)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.addRepository(DeploymentAgent.java:479)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:360)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:238)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
Caused by: java.lang.RuntimeException: URL [mvn:com.example/my-feature/1.0/xml/features] could not be resolved.
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)[1:org.ops4j.pax.url.mvn:1.3.5]
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:87)[67:org.fusesource.fabric.fabric-agent:7.1.0.fuse-047]
... 9 more
Environment
- Fuse ESB Enterprise
- 7.1
- Fabric
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.