Hi all, an answer to myself and anyone that runs into same issue:
It needs additional shell compatibility feature: $ feature:install shell-compat Works now. All solved. Kind Regards, Miroslav 2018-08-14 15:35 GMT+02:00 Miroslav Beranič <[email protected]>: > Hi all, > > so I moved from ServiceMix 7 ( build from GitHub source repository ) to > Karaf 4.2.1-SNAPSHOT. > > I follow Karaf documentation at ( http://karaf.apache.org/ > manual/latest/#_jms ) where it is described under section 4.16.6. JMS. > > Basic Karaf commnds are ( should be ): > > karaf@root()> feature:repo-add activemq > Adding feature url mvn:org.apache.activemq/activemq-karaf/LATEST/xml/ > features > karaf@root()> feature:install activemq-broker > > I get failure: > Error executing command: Unable to resolve root: missing requirement > [root] osgi.identity; osgi.identity=activemq-broker; type=karaf.feature; > version="[5.15.5,5.15.5]"; filter:="(&(osgi.identity= > activemq-broker)(type=karaf.feature)(version>=5.15.5)(version<=5.15.5))" > [caused by: Unable to resolve activemq-broker/5.15.5: missing requirement > [activemq-broker/5.15.5] osgi.identity; osgi.identity=activemq; > type=karaf.feature; version="[5.15.5,5.15.5]" [caused by: Unable to resolve > activemq/5.15.5: missing requirement [activemq/5.15.5] osgi.identity; > osgi.identity=activemq-karaf; type=osgi.bundle; version="[5.15.5,5.15.5]"; > resolution:=mandatory [caused by: Unable to resolve activemq-karaf/5.15.5: > missing requirement [activemq-karaf/5.15.5] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.apache.felix.gogo. > commands)(version>=0.16.0)(!(version>=1.0.0)))"]]] > > So it says: > Unable to resolve activemq-karaf/5.15.5: missing requirement > [activemq-karaf/5.15.5] osgi.wiring.package; filter:="(&(osgi.wiring. > package=org.apache.felix.gogo.commands)(version>=0.16.0)(!( > version>=1.0.0)))"]]] > > As I understand it, it is missing Gogo shell commans package. As far as I > know, this was deprecated for quite some time, as I also had to migrate my > commands. But ... eather way, how is it possible to setup ActiveMQ, as it > is described in documentation. I do not see any repository to get old gogo > shell package. > > This is second failure, first one was missing Spring version 4, but I know > how to fix it ( when I fixed that issue, I ran into gogo missing package ). > > Karaf version 4.2.1-SNAPSHOT, ActiveMQ version 5.15.5, Java version 8. > > Kind Regards, > Miroslav > > > -- > Miroslav Beranič > MIBESIS > +386(0)40/814-843 > [email protected] > http://www.mibesis.si > -- Miroslav Beranič MIBESIS +386(0)40/814-843 [email protected] http://www.mibesis.si
