OBR Resolver fails to find ActiveMQ?
komododave Jan 7, 2013 6:58 AMThe message printed at the bottom of this post is seen under Provision Status in FMC when we attempt to deploy a FAB to a container. The container has profile fuse-esb-full applied as well as a custom profile we defined which extends the karaf profile and includes fabric-bundle feature as well as specifying our FAB via a mvn URI.
Looking at each feature repository listed in the fuse-esb-full profile, we can see ActiveMQ version 5.4.2 is available. So I changed the ActiveMQ version required by our project to be this (it was 5.5.1 originally as per the error message) and re-provisioned. The error message is the same, albeit with version 5.4.2 listed instead of 5.5.1 .
We have a few questions and would be grateful for any advice you can offer:
1. What is one of the Package.. lines telling us in english? If it's stating that the ActiveMQ we depend on must be at least 6.0.0 then I'm confused, since the most recent version in Maven Central is 5.7.0 .
2. Why does configuring the same version of ActiveMQ in our project as is available through the full ESB profile not resolve the issue?
3. Why could the ESB version our project originally depended on not be located, considering all standard fabric repositories are known to be available through our Nexus proxy?
It is important to us that we gain answers to each of these questions, so as to fully understand the deployment requirements when creating a FAB.
Please offer any advice you can, and thank you for your time.
Provision Exception Trace: java.lang.Exception: Can not resolve feature:
Unsatisfied requirement(s):
----
package:(&(package=javax.transaction.xa)(version>=5.5.1)(!(version>=6.0.0)))
com.anon.our-artifactId
package:(&(package=javax.jms)(version>=5.5.1)(!(version>=6.0.0)))
com.anon.our-artifactId
at org.fusesource.fabric.agent.ObrResolver.resolve(ObrResolver.java:200)
at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:554)
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:428)
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:238)
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.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)