Unable to download pax-cdi-feature when using switchyard feature in fabric environment.
Issue
- We wish to use switchyard in fuse fabric. From the initial reading, we need to enable the switchyard features in fuse, However upon enabling, we are having issue with pax-cdi and pax-cdi-extender.
The command that we use, enable repo in karaf profile
mvn:org.switchyard.karaf/switchyard/2.1.0.redhat-630187/xml/features
mvn:org.apache.karaf.assemblies.features/pax-cdi-features/2.4.0.redhat-630187/xml/features
- enable features for
switchyard
deltaspike-core
- The above works well if we are using only standalone karaf mode, however, it does not run at all when we are enabling those features in fabric mode.
- Logs
["org.osgi.service.resolver.ResolutionException:
Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=pax-cdi; type=karaf.feature; version=1.0.0.RC1-redhat-001
[caused by: Unable to resolve pax-cdi/1.0.0.RC1-redhat-001: missing requirement [pax-cdi/1.0.0.RC1-redhat-001] osgi.identity; osgi.identity=org.ops4j.pax.cdi.extender; type=osgi.bundle; version=\"[1.0.0.RC1,1.0.0.RC1]\"; resolution:=mandatory
[caused by: Unable to resolve org.ops4j.pax.cdi.extender/1.0.0.RC1: missing requirement [org.ops4j.pax.cdi.extender/1.0.0.RC1] osgi.service; effective:=active; filter:=\"(objectClass=javax.enterprise.inject.spi.CDIProvider)\"]]","\tat org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:236)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:159)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.region.SubsystemResolver.resolve(SubsystemResolver.java:190)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.service.Deployer.deploy(Deployer.java:273)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.service.Agent.provision(Agent.java:366)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.service.Agent.provision(Agent.java:199)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:753)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:303)[175:io.fabric8.fabric-agent:1.2.0.redhat-630187][io.fabric8:fabric-agent:1.2.0.redhat-630187]","\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_111]","\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_111]","\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111]","\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111]","\tat java.lang.Thread.run(Thread.java:745)[:1.8.0_111]"]
Environment
- Red Hat JBoss Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.