You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Blatwurst <st...@equilibrium.com> on 2010/02/27 19:25:20 UTC

Newbie help installing ActiveMQ on Karaf 1.2

I'm new to OSGi and am trying to figure out how to get ActiveMQ installed
under Karaf 1.2.  I'm not having any luck and could use some help.

First, I tried using this tutorial:

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

but the second step here leads to this error:

Unresolved constraint in bundle org.apache.servicemix.activemq.commands
[286]: package;
(&(package=org.apache.geronimo.gshell.clp)(version>=1.0.0.alpha-2-SNAPSHOT))

I played around with trying to fix this issue, but didn't get anywhere.

Then I tried to download the latest ActiveMQ and install its jar.  I keep
reading that many server side jars are now OSGi bundles, but this doesn't
seem to be the case for the ActiveMQ jar.  I expanded it and looked at the
MANIFEST, and there are no OSGi headers in there.

What's the right path here?  I would greatly appreciate some help.


-- 
View this message in context: http://old.nabble.com/Newbie-help-installing-ActiveMQ-on-Karaf-1.2-tp27729906p27729906.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Newbie help installing ActiveMQ on Karaf 1.2

Posted by Blatwurst <st...@equilibrium.com>.
I found this, which maybe answers my question but suggests a fair amount of
work is involved.  

http://mail-archives.apache.org/mod_mbox/felix-users/200909.mbox/%3Cm27hwe97dt.fsf@apache.org%3E
http://mail-archives.apache.org/mod_mbox/felix-users/200909.mbox/%3Cm27hwe97dt.fsf@apache.org%3E 

Does anyone have a better solution?



Blatwurst wrote:
> 
> I'm new to OSGi and am trying to figure out how to get ActiveMQ installed
> under Karaf 1.2.  I'm not having any luck and could use some help.
> 
> First, I tried using this tutorial:
> 
> http://activemq.apache.org/osgi-integration.html
> 
> but the second step here leads to this error:
> 
> Unresolved constraint in bundle org.apache.servicemix.activemq.commands
> [286]: package;
> (&(package=org.apache.geronimo.gshell.clp)(version>=1.0.0.alpha-2-SNAPSHOT))
> 
> I played around with trying to fix this issue, but didn't get anywhere.
> 
> Then I tried to download the latest ActiveMQ and install its jar.  I keep
> reading that many server side jars are now OSGi bundles, but this doesn't
> seem to be the case for the ActiveMQ jar.  I expanded it and looked at the
> MANIFEST, and there are no OSGi headers in there.
> 
> What's the right path here?  I would greatly appreciate some help.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Newbie-help-installing-ActiveMQ-on-Karaf-1.2-tp27729906p27732309.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Newbie help installing ActiveMQ on Karaf 1.2

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

for the next (5.3.1) version of ActiveMQ, we created activemq-karaf module
that should provide better integration with karaf.

You can find activemq-karaf-5.3.1-SNAPSHOT.xml here

https://repository.apache.org/content/repositories/snapshots/org/apache/activemq/activemq-karaf/5.3.1-SNAPSHOT/

so with the right repo added you should be able to do

features:addUrl
mvn:org.apache.activemq/activemq-karaf/5.3.1-SNAPSHOT/xml/features
features:install activemq
features:install pax-web
features:install activemq-web-console

to have it all installed in karaf.

The proper documentation will come soon.


Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Sun, Feb 28, 2010 at 6:58 AM, Blatwurst <st...@equilibrium.com> wrote:

>
> Well, I found an answer...sorta.  It's called "ServiceMix".  Since
> ServiceMix
> comes with ActiveMQ already wired in, and is basically just a bigger
> build-out of Karaf, I'm all set.
>
>
> Blatwurst wrote:
> >
> > I'm new to OSGi and am trying to figure out how to get ActiveMQ installed
> > under Karaf 1.2.  I'm not having any luck and could use some help.
> >
> > First, I tried using this tutorial:
> >
> > http://activemq.apache.org/osgi-integration.html
> >
> > but the second step here leads to this error:
> >
> > Unresolved constraint in bundle org.apache.servicemix.activemq.commands
> > [286]: package;
> >
> (&(package=org.apache.geronimo.gshell.clp)(version>=1.0.0.alpha-2-SNAPSHOT))
> >
> > I played around with trying to fix this issue, but didn't get anywhere.
> >
> > Then I tried to download the latest ActiveMQ and install its jar.  I keep
> > reading that many server side jars are now OSGi bundles, but this doesn't
> > seem to be the case for the ActiveMQ jar.  I expanded it and looked at
> the
> > MANIFEST, and there are no OSGi headers in there.
> >
> > What's the right path here?  I would greatly appreciate some help.
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Newbie-help-installing-ActiveMQ-on-Karaf-1.2-tp27729906p27733098.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: Newbie help installing ActiveMQ on Karaf 1.2

Posted by Blatwurst <st...@equilibrium.com>.
Well, I found an answer...sorta.  It's called "ServiceMix".  Since ServiceMix
comes with ActiveMQ already wired in, and is basically just a bigger
build-out of Karaf, I'm all set. 


Blatwurst wrote:
> 
> I'm new to OSGi and am trying to figure out how to get ActiveMQ installed
> under Karaf 1.2.  I'm not having any luck and could use some help.
> 
> First, I tried using this tutorial:
> 
> http://activemq.apache.org/osgi-integration.html
> 
> but the second step here leads to this error:
> 
> Unresolved constraint in bundle org.apache.servicemix.activemq.commands
> [286]: package;
> (&(package=org.apache.geronimo.gshell.clp)(version>=1.0.0.alpha-2-SNAPSHOT))
> 
> I played around with trying to fix this issue, but didn't get anywhere.
> 
> Then I tried to download the latest ActiveMQ and install its jar.  I keep
> reading that many server side jars are now OSGi bundles, but this doesn't
> seem to be the case for the ActiveMQ jar.  I expanded it and looked at the
> MANIFEST, and there are no OSGi headers in there.
> 
> What's the right path here?  I would greatly appreciate some help.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Newbie-help-installing-ActiveMQ-on-Karaf-1.2-tp27729906p27733098.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.