"Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

2020-04-15 Thread Paul Spencer
Karaf 4.2.0 Java 1.8 I am receiving the following error when installing any Camel 3.2.0 feature > karaf@root()> feature:install camel/3.2.0 > org.apache.karaf.features.internal.util.MultiException: Error: > Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0 > at > org.a

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

2020-04-15 Thread Freeman Fang
Hi, This is a known issue, please see the discussion and solution here Cheers Freeman On Wed, Apr 15, 2020 at 9:33 AM Paul Spencer wrote: > Karaf 4.2.0 > Java 1.8 > > I am receiving the following error whe

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

2020-04-15 Thread Paul Spencer
Freeman, I have installed a fresh copy of Karaf v4.2.8 and get the same error. I must be doing something wrong because adding the file did not change the error. Below is the etc/org.apache.karaf.features.xml apache-karaf-4.2.8 paul$ more etc/org.apache.karaf.features.xml > On Apr

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

2020-04-15 Thread Freeman Fang
Hi, should be under http://karaf.apache.org/xmlns/features-processing/v1.0.0";> mvn:org.apache.karaf.features/framework/4.3.0-SNAPSHOT/xml/features mvn:org.apache.karaf.features/standard/4.3.0-SNAPSHOT/xml/features mvn:org.apache.karaf.features/enterprise/4.3.0-SNAPSHOT/xml/feature

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

2020-04-15 Thread Paul Spencer
Freeman, The Camel feature is installing! Paul Spencer > On Apr 15, 2020, at 10:24 AM, Freeman Fang wrote: > > Hi, > should be under > something like > > xmlns="http://karaf.apache.org/xmlns/features-processing/v1.0.0";> > > > > > > mvn:org.apache.karaf.features/frame

Stopping Karaf

2020-04-15 Thread Alex Soto
Hello, What would be the best way to shutdown Karaf as soon as possible from a Declarative Component that needs to run at startup. This component will check some authorization API and decide if the user is authorized to run the app. So, I thought to have a component with @Component(immediate

ConfigAdmin and blueprint - possible to get properties from more than one pid

2020-04-15 Thread stefang
Hello, we must get properties from more than one pid (cm) in blueprint based on this: https://github.com/apache/karaf/tree/master/examples/karaf-config-example/karaf-config-example-blueprint Is this possible? Regards Stefan -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f9307

Re: ConfigAdmin and blueprint - possible to get properties from more than one pid

2020-04-15 Thread Jean-Baptiste Onofre
Hi, If you want to use a managed service way (with a reload on the blueprint container when the config is updated), it’s not possible. However, via the configadmin service you can request multiple config on demand. Regards JB > Le 15 avr. 2020 à 18:57, stefang a écrit : > > Hello, > > we mu

Re: Stopping Karaf

2020-04-15 Thread Jean-Baptiste Onofre
Hi Alex, Yes, SystemService is exactly provided for that (it’s used by the halt/shutdown Karaf command). Another option (it’s basically what the SystemService is doing) is to do: bundleContext.stop(0); Bundle 0 is the system bundle (the framework basically). SystemService is a better option I

Re: ConfigAdmin and blueprint - possible to get properties from more than one pid

2020-04-15 Thread stefang
Hi JB, thanks a lot! Regards Stefan jbonofre wrote > Hi, > > If you want to use a managed service way (with a reload on the blueprint > container when the config is updated), it’s not possible. > > However, via the configadmin service you can request multiple config on > demand. > > Regard

Re: Stopping Karaf

2020-04-15 Thread Alex Soto
Thanks JB, would it work with file:// protocol, or only mvn? Also, what start level do you recommend? Best regards, Alex soto > On Apr 15, 2020, at 1:55 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Yes, SystemService is exactly provided for that (it’s used by the > halt/shutdown Kar

Re: Stopping Karaf

2020-04-15 Thread Jean-Baptiste Onofre
Hi Alex, Actually, etc/startup.properties doesn’t really use mvn. When you use mvn, Karaf is looking for the file in the system folder (as pax-url is not yet started). So, you can use mvn (as soon as your bundle is in the system folder), file or reference. For the start level, it depends the

OAuth2 recommended bundles/features

2020-04-15 Thread Davi Baldin Tavares
Hi team, My Karaf app is going to deploy a WebBundle for REST services been served by jersey and Jackson only. Features installed along my bundle: feature:install jetty feature:install war I would like to add Oauth2 and CORS support to connect with front-end app, so what do you recommend me

Re: Karaf and Libjitsi

2020-04-15 Thread Paul Fraser
Hi JB, On 13/04/2020 3:54 pm, Jean-Baptiste Onofre wrote: I guess you are talking about dependencies like *ch.imvs.sdes4j.srtp right ?* * * *I think the easiest way is both a small wrapping (to embed such dependencies as private) and a features XML.* * * *I can do that easily if it’s helpful f

Re: Karaf and Libjitsi

2020-04-15 Thread Jean-Baptiste Onofre
Hi, Basically, the idea is to create a bundle wrapping libjitsi and embedding the jitsi required packages as private in this bundle. I’m working on Decanter right now, but I can show you later today. Regards JB > Le 16 avr. 2020 à 08:12, Paul Fraser a écrit : > > > Hi JB, > > On 13/04/2020