You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Achim Nierbeck <bc...@googlemail.com> on 2015/07/02 09:25:35 UTC
Re: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
Hi,
might want to take a look at the latest documentation [1] :-)
[2] will give you a hint about the changes in Karaf 4.
regards, Achim
[1] -
http://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html
[2] - http://karaf.apache.org/manual/latest/update-notes.html
2015-06-29 16:11 GMT+02:00 CLEMENT Jean-Philippe <
jean-philippe.clement@fr.thalesgroup.com>:
> At present time the assembly pom contains those boot features:
> management (not sure if required)
> ssh
> aries-blueprint
> our-feature
>
> JP
>
> [@@ OPEN @@]
>
>
> -----Message d'origine-----
> De : CLEMENT Jean-Philippe [mailto:
> jean-philippe.clement@fr.thalesgroup.com]
> Envoyé : lundi 29 juin 2015 15:03
> À : user@karaf.apache.org
> Objet : RE: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
>
> Sure, which file do you need?
>
> PS: Is there a doc describing "build-in" features?
>
> Regards,
> JP
>
> [@@ OPEN @@]
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] Envoyé : lundi 29 juin
> 2015 15:00 À : user@karaf.apache.org Objet : Re: Karaf 4.0.0 - Assembly
> failure => org.eclipse.osgi => freeze
>
> Hi JP,
>
> I guess that your commands use the "old style" (bluprint + Karaf shell
> annotations).
>
> Anyway, it should work straight forward (for instance, it's the case in
> Cellar as well).
>
> So, I would compare your cfg files with the distribution ones (diff).
>
> Regards
> JB
>
> On 06/29/2015 02:36 PM, CLEMENT Jean-Philippe wrote:
> > Ok good ! I added “aries-blueprint” as boot feature and now things get
> > better as all bundles seem to start :)
> >
> > I say “seem to” as the command line appears to be very basic. I did
> > not find any command to list bundles! Also, all our custom commands
> > are not available.
> >
> > Should I add other features to list/start/stop bundles and to get my
> > custom commands to work?
> >
> > Regards,
> >
> > JP
> >
> > [@@ OPEN @@]
> >
> > *De :*Achim Nierbeck [mailto:bcanhome@googlemail.com] *Envoyé :* lundi
> > 29 juin 2015 14:22 *À :* user@karaf.apache.org *Objet :* Re: Karaf
> > 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
> >
> > Hi,
> >
> > no that one does add some web dependencies.
> >
> > You would need to use aries-blueprint [1] as blueprint is to generic,
> > as one might as well use gemini-blueprint.
> >
> > regards, Achim
> >
> > [1] -
> > https://github.com/apache/karaf/blob/master/assemblies/features/standa
> > rd/src/main/feature/feature.xml#L43
> >
> > 2015-06-29 14:17 GMT+02:00 CLEMENT Jean-Philippe
> > <jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>>:
> >
> > I mean, in the assembly pom, should I add “blueprint-web” as boot
> > feature in order to get blueprint?
> >
> > Regards,
> >
> > JP
> >
> > [@@ OPEN @@]
> >
> > *De :*Achim Nierbeck [mailto:bcanhome@googlemail.com
> > <ma...@googlemail.com>] *Envoyé :* lundi 29 juin 2015 14:14
> >
> >
> > *À :* user@karaf.apache.org <ma...@karaf.apache.org> *Objet :*
> > Re: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
> >
> > Hi,
> >
> > no, with Karaf 4, you'll now have also a blueprint feature while in
> > 3.x it's been part of the framework feature.
> >
> > regards, Achim
> >
> > 2015-06-29 14:11 GMT+02:00 CLEMENT Jean-Philippe
> > <jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>>:
> >
> > Right, I did not add the blueprint feature. I tried "blueprint"
> > without success. In the 3.0.2 assembly I found a "blueprint-web"
> > feature. Is it this one?
> >
> > Regards,
> > JP
> >
> > [@@ OPEN @@]
> >
> >
> > -----Message d'origine-----
> > De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net
> > <ma...@nanthrax.net>] Envoyé : lundi 29 juin 2015 14:06 À :
> > user@karaf.apache.org <ma...@karaf.apache.org> Objet : Re: Karaf
> > 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
> >
> >
> > Do you have blueprint feature defined in featuresBoot in
> > etc/org.apache.karaf.features.cfg ?
> >
> > If you upgrade from a previous version, please do a diff in the etc
> > folder as the cfg files have changed.
> >
> > Regards
> > JB
> >
> > On 06/29/2015 01:27 PM, CLEMENT Jean-Philippe wrote:
> > > The error message is not crystal clear. I’m not too sure what is >
> > missing. Seems to be “kernel” but it was assembled as a boot feature.
> > >
> > > JP
> > >
> > > [@@ OPEN @@]
> > >
> > > *De :*CLEMENT Jean-Philippe
> > > [mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>]
> > > *Envoyé :* lundi 29 juin 2015 10:51 > *À :* user@karaf.apache.org
> > <ma...@karaf.apache.org> > *Objet :* RE: Karaf 4.0.0 - Assembly
> > failure => org.eclipse.osgi => > freeze > > Please find attached
> > the log after a clean install and freeze.
> > >
> > > JP
> > >
> > > [@@ OPEN @@]
> > >
> > > *De :*Achim Nierbeck [mailto:bcanhome@googlemail.com
> > <ma...@googlemail.com>] *Envoyé :* lundi > 29 juin 2015
> > 10:34 *À :* user@karaf.apache.org <ma...@karaf.apache.org> >
> > <mailto:user@karaf.apache.org <ma...@karaf.apache.org>> *Objet
> > :* Re: Karaf 4.0.0 - Assembly
> > > failure => org.eclipse.osgi => freeze > > Hi, > > could you
> > show us a bit more about the strange trace?
> > >
> > > The "." instead of "-" is expected as OSGi versions aren't allowed
> > to > have a "-" in it. So the maven-bundle plugin converts this to a
> dot.
> > >
> > > regards, Achim
> > >
> > > 2015-06-29 10:30 GMT+02:00 CLEMENT Jean-Philippe >
> > <jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>
> > > <mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>>>:
> > >
> > > Now the config.properties is fixed, Karaf starts then freezes. The
> > log > contains a strange trace complaining about a missing artifact.
> > >
> > > The trace is strange because of the artifact version which is looked
> at:
> > > 0.0.3.SNAPSHOT instead of 0.0.3-SNAPSHOT as defined.
> > >
> > > Another strange thing is I found a ".SNAPSHOT" in the generated >
> > MANIFEST.MF of the branding (under target/classes/META-INF):
> > > 0.0.1.SNPASHOT instead of 0.0.1-SNAPSHOT.
> > >
> > > Please help :)
> > >
> > > JP
> > >
> > > [@@ OPEN @@]
> > >
> > >
> > > -----Message d'origine-----
> > > De : CLEMENT Jean-Philippe
> > > [mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>
> > > <mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>>]
> > > Envoyé : lundi 29 juin 2015 10:16
> > > À : user@karaf.apache.org <ma...@karaf.apache.org>
> > <mailto:user@karaf.apache.org <ma...@karaf.apache.org>> Objet :
> RE:
> > > Karaf 4.0.0 - Assembly failure => org.eclipse.osgi > > Haha!
> > >
> > > I did override the config.properties in the assembly in order to >
> > enable Equinox instead of Felix. This file mentions the equinox version!
> > >
> > > Thank you :)
> > >
> > > JP
> > >
> > > [@@ OPEN @@]
> > >
> > >
> > > -----Message d'origine-----
> > > De : Christian Schneider [mailto:cschneider111@gmail.com
> > <ma...@gmail.com> > <mailto:cschneider111@gmail.com
> > <ma...@gmail.com>>] De la part de Christian Schneider
> > > Envoyé : lundi 29 juin 2015 10:03 À : user@karaf.apache.org
> > <ma...@karaf.apache.org> > <mailto:user@karaf.apache.org
> > <ma...@karaf.apache.org>> Objet :
> > Re: Karaf 4.0.0 - Assembly
> > > failure => org.eclipse.osgi
> > >
> > > org.eclipse.osgi is the equinox framework. You should not install
> > this > as a bundle. Instead switch karaf to use equinox instead of
> > felix in > the config.properties.
> > >
> > > Christian
> > >
> > > On 29.06.2015 09:56, CLEMENT Jean-Philippe wrote:
> > > > Found a thread which seems to suggest to remove "standard" from
> > > boot features. What I did. Assembly leads to success but during the
> > > runtime Karaf quickly fails with the message:
> > > > Could not resolve
> > > > mvn:org.eclipse/org.eclipse.osgi/3.8.2.v20130124-134944
> > > >
> > > > Two things seem wrong. I don't catch why it did not complain
> > during > the assembly as the assembly should embed it. Second is that
> > this > artifact is in our local repository.
> > > >
> > > > Help is welcome :)
> > > >
> > > > Regards,
> > > > JP
> > > >
> > > > [@@ OPEN @@]
> > > >
> > > >
> > > > -----Message d'origine-----
> > > > De : CLEMENT Jean-Philippe
> > > > [mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>
> > > <mailto:jean-philippe.clement@fr.thalesgroup.com
> > <ma...@fr.thalesgroup.com>>]
> > > > Envoyé : lundi 29 juin 2015 09:27 > > À :
> > user@karaf.apache.org <ma...@karaf.apache.org>
> > <mailto:user@karaf.apache.org <ma...@karaf.apache.org>> > Objet :
> > > Karaf 4.0.0 - Assembly failure > > Hi Jamie and all at Karaf, >
> > > > Glad to head Karaf 4.0.0 has been released!
> > > >
> > > > I just gave it a try but Maven fails during the assembly.
> > > >
> > > > The assembly was ok with Karaf 3.0.2, I just changed 3.0.2
> > versions > to 4.0.0. The message is:
> > > > [ERROR] Failed to execute goal
> > > > org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly
> > > > (default-assembly) on project my-assembly: Unable to build
> assembly:
> > > > Could not find matching feature for standard -> [Help 1] > >
> > Do > you have a clue why?
> > > >
> > > > Thank you,
> > > > JP
> > > >
> > > > [@@ OPEN @@]
> > > >
> > > >
> > > > -----Message d'origine-----
> > > > De : Jamie G. [mailto:jamie.goodyear@gmail.com
> > <ma...@gmail.com> > <mailto:jamie.goodyear@gmail.com
> > <ma...@gmail.com>>]
> > Envoyé : samedi 27 juin 2015 03:20
> > > À
> > > : user@karaf.apache.org <ma...@karaf.apache.org>
> > <mailto:user@karaf.apache.org <ma...@karaf.apache.org>> Objet :
> > [ANN] > Apache Karaf 4.0.0 Released!
> > > >
> > > > The Karaf team is pleased to announce the release of Apache
> > Karaf > version 4.0.0.
> > > >
> > > > Apache Karaf is a small OSGi distribution which provides a ready
> > to > use container for server side applications.
> > > >
> > > > Apache Karaf 4.0.0 is the first production ready version of the
> > new > > 4.0.0 branch.
> > > > It's a major step forward, including a complete new features >
> > resolver, a large set of new features, improvements, and bug fixes.
> > > >
> > > > http://karaf.apache.org/
> > > >
> > > > This release is available from
> > > > http://karaf.apache.org/index/community/download.html#Karaf4.0.0
> > > and > > Maven:
> > > >
> > > > <dependency>
> > > > <groupId>org.apache.karaf</groupId>
> > > > <artifactId>apache-karaf</artifactId>
> > > > <version>4.0.0</version>
> > > > </dependency>
> > > >
> > > > Download Note:
> > > > Our mirrors are still syncing the new kits, if your primary
> > mirror > does not have the kit please try another from the server
> mirror list.
> > > >
> > > > Apache Karaf manuals will appear soon to the website, updates
> > are > underway.
> > > >
> > > > Release Notes:
> > > >
> > >
> > http://karaf.apache.org/index/community/download/karaf-4.0.0-release.h
> > > > tml
> > > >
> > > > Enjoy!
> > >
> > >
> > > --
> > > Christian Schneider
> > > http://www.liquid-reality.de
> > >
> > > Open Source Architect
> > > http://www.talend.com
> > >
> > >
> > >
> > > --
> > >
> > >
> > > Apache Member
> > >
> > > Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax
> > Web > <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> > Project > Lead blog <http://notizblog.nierbeck.de/> > > Co-Author
> > of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software
> > Architect / Project Manager / Scrum Master >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> > http://blog.nanthrax.net Talend - http://www.talend.com
> >
> >
> >
> > --
> >
> >
> > Apache Member
> >
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web
> > <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project
> > Lead blog <http://notizblog.nierbeck.de/>
> >
> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >
> > Software Architect / Project Manager / Scrum Master
> >
> >
> >
> > --
> >
> >
> > Apache Member
> >
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web
> > <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project
> > Lead blog <http://notizblog.nierbeck.de/>
> >
> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >
> > Software Architect / Project Manager / Scrum Master
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master