-
1. Re: BundleException - package=org.springframework.jms.listener)(version>=3.0.0)
ffang Jan 18, 2011 7:29 AM (in response to praga)Hi,
This error means missing spring-jms(version > 3.0) bundle from your osgi container, I believe you deploy your customer bundle in FUSE ESB, right?
Which FUSE ESB version you're using? Could you use latest FUSE ESB 4.3.0-fuse-03-00 which already install spring 3 feature(including a set of spring 3 bundles) by default?
Freeman
-
2. Re: BundleException - package=org.springframework.jms.listener)(version>=3.0.0)
praga Jan 18, 2011 7:42 AM (in response to ffang)Hi,
Thanks for your input. I tried in apache-servicemix-4.3.0-fuse-03-00 now, the karaf server. when I tried to start the bundle i get the following error
Error executing command: The bundle "jms-example.jmsexample_0.0.1.SNAPSHOT " could not be resolved. Reason: Missing Constraint: Import-Package: org.activemq.message; version="0.0.0"
sounds strange. can u please help !!!!
-
3. Re: BundleException - package=org.springframework.jms.listener)(version>=3.0.0)
ffang Jan 18, 2011 8:00 AM (in response to praga)Hi,
I believe it's caused by your customer bundle specify incorrect import package, for activemq, the package name should be like
org.apache.activemq,
there's no org.activemq.message IMO.
Freeman
-
4. Re: BundleException - package=org.springframework.jms.listener)(version>=3.0.0)
praga Jan 19, 2011 3:41 AM (in response to ffang)Hi,
Actually there is one like that. check the below url.
http://www.docjar.org/docs/api/org/activemq/message/ActiveMQQueue.html
but even if i add org.apache.activemq iam getting the below error.
Error executing command: The bundle "jms-example.jmsexample_0.0.1.SNAPSHOT " could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.activemq; version="5.1.0"
-
5. Re: BundleException - package=org.springframework.jms.listener)(version>=3.0.0)
ffang Jan 19, 2011 3:57 AM (in response to praga)Hi,
Seems your customer bundle specify a very old activemq version 5.1.0, in 4.3.0-fuse-03-00, we now use activemq 5.4.1.fuse-01-00, also, the import activemq package should be more specific, like
org.apache.activemq.util
org.apache.activemq.protobuf,
It depend on what your customer bundle really use.
you can run packages:exports |grep org.apache.activemq
from FUSE ESB console and see what exported activemq package available and which bundle provide it.
Freeman