-
1. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
njiang Nov 18, 2009 8:00 PM (in response to lekkie_lomotayo)Which version of ServiceMix are you using?
For the ServicemMix 4.0.x , we don't support the coexistence of Camel 1.x and Camel 2.0 due to the version conflict.
From the stack trace I guess there are some camel 1.x bundle install, can you try to uninstall them before you install Camel 2.0 ?
-
2. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
lekkie_lomotayo Nov 19, 2009 6:51 AM (in response to njiang)Well, it seems Camel 1.x came with ServiceMix 4.0 because I download same from Fuse website.
I have uninstall camel-core, camel-osgi, camel-spring from the osgi lists in servicemix but I can still see (in the features list) camel is installed - even though camel was not listed in the osgi bundles available.
I tried to install camel from fuse repository (install -s mvn:org.apache.camel/camel-core/2.x-fuse-SNAPSHOT) but its not installing because it requires a bundle. See err below:
ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandExce
ption: org.osgi.framework.BundleException: Unresolved constraint in bundle 170:
package; (&(package=org.fusesource.commons.management)(version>=1.0.0)(!(version>=2.0.0)))
How do I upgrade the current 1.6 version to 2.0?
kr.
Edited by: lekkie on Nov 19, 2009 11:47 AM
-
3. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
davsclaus Nov 19, 2009 7:30 AM (in response to lekkie_lomotayo)You gotta install this jar as well
org.fusesource.commons.management
Its required by Camel 2.1. However in pure Camel 2.0 it should not be required.
And I believe its provided out of the box in the SMX 4.1 release as SMX itself also leverages it.
-
4. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
davsclaus Nov 19, 2009 7:31 AM (in response to lekkie_lomotayo)And as nijiang writes. SMX 4.0 does not support Camel 2.0.
-
5. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
lekkie_lomotayo Nov 19, 2009 8:51 AM (in response to davsclaus)This has been resolved.
Run this to resolve
install -s mvn:org.fusesource.commonman/commons-management/1.0
-
6. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
njiang Nov 20, 2009 8:47 PM (in response to lekkie_lomotayo)Just a quick NOTE.
As you replace the camel version of SMX 4.0 with 2.0, you will face an issue that servicemix-camel component will not work any more.
That is because that version of servicemix-camel component still use Camel 1.x.
-
7. Re: Unresolved constraint in bundle (package=org.apache.camel)(version>=2.0
lekkie_lomotayo Nov 24, 2009 11:43 AM (in response to njiang)How can I upgrade it to the 2.0 version, or is there a Fuse ESB version that has camel 2.0 innit?
kr.