Hi Claus.

It's an issue in ActiveMQ. AFAIR I raised a Jira in AMQ for that.
We should use version range.
Let me reproduce it and check.
I keep you posted.

Regards
JB

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://wwx.talend.com

----- Reply message -----
From: "Claus Ibsen" <[email protected]>
To: <[email protected]>
Subject: Spotted this OSGi Karaf feature issue with activemq-ra
Date: Wed, Nov 16, 2011 11:22 am


Hi

I just noticed this on the console when running some Camel OSGi tests
using ActiveMQ.
We do not need/use the activemq-ra bundle. But you get this ERROR in the logs:


[org.springframework.osgi.extender.internal.support.NamespaceManager]
: Bundle activemq-ra (org.apache.activemq.activemq-ra) cannot see
class [org.springframework.beans.factory.xml.NamespaceHandlerResolver];
ignoring its namespace handlers
ERROR: Error starting file:bundles/activemq-karaf_5.4.0.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
activemq-karaf [68]: Unable to resolve 68.0: missing requirement
[68.0] package;
(&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
activemq-karaf [68]: Unable to resolve 68.0: missing requirement
[68.0] package;
(&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0)))
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3404)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1714)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1143)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:680)


-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to