Wrong bundle-version strategy in felix (FUSE 6.1-137)
afaulhaber Nov 6, 2013 7:42 AMJust a small question:
I have the Impression that felix selects "wrong" bundle-versions, i.e. tries to take oldest version instead of newest version in version intervall and thus comes up with non-satifiable version conflicts... (Below an example)
Or am I missing something here?
Thanks a lot and cheers,
Arndt
Log output:
2013-11-06 13:32:21,980 | ERROR | agent-1-thread-1 | DeploymentAgent | | e.fabric.agent.DeploymentAgent$1 190 | 78 - org.fusesource.fabric.fabric-agent - 7.3.0.redhat-137 | Unable to update agent |
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource ch.visana.util.camel [ch.visana.util.camel/3.0.0.SNAPSHOT] because it is exposed to package 'org.springframework.beans' from resources org.springframework.beans [org.springframework.beans/3.1.3.RELEASE] and org.springframework.beans [org.springframework.beans/2.5.6.SEC03] via two dependency chains.
Chain 1:
ch.visana.util.camel [ch.visana.util.camel/3.0.0.SNAPSHOT]
import: (&(osgi.wiring.package=org.springframework.beans)(version>=3.1.0)(!(version>=3.3.0))) | |
| | |
export: osgi.wiring.package: org.springframework.beans |
org.springframework.beans [org.springframework.beans/3.1.3.RELEASE]
Chain 2:
ch.visana.util.camel [ch.visana.util.camel/3.0.0.SNAPSHOT]
import: (&(osgi.wiring.package=org.springframework.osgi.context)(version>=1.2.0)(!(version>=2.0.0))) | |
| | |
export: osgi.wiring.package=org.springframework.osgi.context; uses:=org.springframework.beans |
org.springframework.osgi.core [org.springframework.osgi.core/1.2.1]
import: (&(osgi.wiring.package=org.springframework.beans)(version>=2.5.6)(!(version>=4.0.0))) | |
| | |
export: osgi.wiring.package: org.springframework.beans |
org.springframework.beans [org.springframework.beans/2.5.6.SEC03]
at org.apache.felix.resolver.ResolverImpl.checkDynamicPackageSpaceConsistency(ResolverImpl.java:1290)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1086)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkDynamicPackageSpaceConsistency(ResolverImpl.java:1402)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1086)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkDynamicPackageSpaceConsistency(ResolverImpl.java:1402)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1086)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkDynamicPackageSpaceConsistency(ResolverImpl.java:1402)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1086)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:260)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.fusesource.fabric.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:216)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:340)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:187)[78:org.fusesource.fabric.fabric-agent:7.3.0.redhat-137] | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_21] | |
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_21] | |
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_21] | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21] | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21] | |
at java.lang.Thread.run(Thread.java:722)[:1.7.0_21] |