On Sep 14, 2010, at 9:44 AM, kitplummer wrote:

> 
> 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.

And as soon as I hit send, I noticed the line that says, specify with '--type 
blueprint' - my bad.

Reply via email to