activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kitplummer <kitplum...@gmail.com>
Subject ActiveMQ in Karaf...
Date Tue, 14 Sep 2010 16:44:58 GMT

Just trying to deploy ActiveMQ into Karaf following this guide:

http://activemq.apache.org/osgi-integration.html

When I install with 'activemq-blueprint' and then create the broker with
'activemq:create-broker' I get the expected message back.  But, when I start
the localhost-broker.xml (bundle?) I get an error:

<snip>
ERROR: Error starting
spring:file:/Users/kplummer/Development/Projects/SNAP/apache-karaf-2.0.0/deploy/localhost-broker.xml
(org.osgi.framework.BundleException: Unresolved constraint in bundle
localhost-broker.xml [100]: Unable to resolve 100.0: missing requirement
[100.0] package; (package=org.apache.activemq.hooks) - [100.0] package;
(package=org.apache.activemq.hooks))
org.osgi.framework.BundleException: Unresolved constraint in bundle
localhost-broker.xml [100]: Unable to resolve 100.0: missing requirement
[100.0] package; (package=org.apache.activemq.hooks) - [100.0] package;
(package=org.apache.activemq.hooks)
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
	at java.lang.Thread.run(Thread.java:637)
</snip>

Commenting out the Spring stuff in the config seemed to work - though I'm
not sure what the consequences are.  

<!-- <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
-->
<!-- <bean xmlns="http://www.springframework.org/schema/beans" id="hook"
class="org.apache.activemq.hooks.SpringContextHook" /> -->
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-in-Karaf-tp2539263p2539263.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message