Re: Karaf 4.2.13 and 4.2.14 release announcement missing in Karaf site

2021-12-27 Thread JB Onofré
H I guess you didn’t see the message on the dev mailing list: announcement are in preparation and it will cover several releases in a row. You can already upgrade to 4.2.14. Regards JB > Le 28 déc. 2021 à 07:31, Muthuvijayan, Vignesh Kumar > a écrit : > >  > Hi, > &g

Re: Log4j2 xml configuration with Karaf 4.3.5

2021-12-23 Thread JB Onofré
Hi That’s normal : log:* commands only work with default log4j properties style. Regards JB > Le 23 déc. 2021 à 20:05, Jakub Herkel a écrit : > > I tried to setup log4j2 via xml configuration but when I tried > "display" command I co

Re: Updated mitigation for Log4JShell in Karaf 4.2.x and 4.3.x since setting log4j2.formatMsgNoLookups is a insufficient mitigation measure

2021-12-23 Thread JB Onofré
It makes sense. As it’s for a short period. Regards JB > Le 23 déc. 2021 à 19:19, Paul Spencer a écrit : > > JB, > Karaf upgrades will be done, just not during the holiday breaks when > compliance resources are scarce. Mitigating the issue by setting > log4j2.form

Re: Updated mitigation for Log4JShell in Karaf 4.2.x and 4.3.x since setting log4j2.formatMsgNoLookups is a insufficient mitigation measure

2021-12-23 Thread JB Onofré
Then create your own custom distro upgrading pax logging. > Le 23 déc. 2021 à 17:23, Paul Spencer a écrit : > > JB, > As stated earlier, upgrading Karaf is not an option in the short term. > > Paul Spencer > > >> On Dec 23, 2021, at 11:21 AM, JB Onofré

Re: Updated mitigation for Log4JShell in Karaf 4.2.x and 4.3.x since setting log4j2.formatMsgNoLookups is a insufficient mitigation measure

2021-12-23 Thread JB Onofré
Upgrade to Karaf 4.2.13. > Le 23 déc. 2021 à 17:02, Paul Spencer a écrit : > > In light of the updated mitigation for the Log4JShell published by Log4J[1], > specifically "zip -q -d log4j-core-*.jar > org/apache/logging/log4j/core/lookup/JndiLookup.class", the insufficient > mitigation meas

Re: Karaf 3.0.x "Apache Log4j Remote Code Execution Vulnerability" mitigation?

2021-12-12 Thread JB Onofré
Hi Paul Only log4j 2.x is only impacted, Karaf 3.0/pax logging 1.8 uses log4j 1.x so no problem. Regards JB > Le 12 déc. 2021 à 19:18, Paul Spencer a écrit : > > For users of Karaf 3.0.x that uses Pax Logging version 1.8.x, what is the > recommended mitigation for "Ap

Re: Karaf 4.3.x "Apache Log4j Remote Code Execution Vulnerability" mitigation?

2021-12-12 Thread JB Onofré
You can use system.properties to set the msg format on existing version. Else Karaf 4.3.4 will include fix by default. > Le 12 déc. 2021 à 17:54, Paul Spencer a écrit : > > For users of Karaf 4.3.x, what is the recommended mitigation for "Apache > Log4j Remote Code Execution Vulnerability",

Re: AetherBasedResolver - no protocol: system/ - on first clean start

2021-12-11 Thread JB Onofré
Hi I guess it’s your custom distro: probably a bundle missing in system folder. Any change you can share the pom you are using to create the distro ? Thx Regards JB > Le 11 déc. 2021 à 10:48, Stefan Günst a écrit : > > Hi, > > we have situation where the first clean st

Re: ClassNotFoundException in org.ops4j.pax.logging.pax-logging-api

2021-12-10 Thread JB Onofré
> In what Karaf version will pax-logging be integrated? > > Regards > > Richard > > > > >> Am Mi., 8. Dez. 2021 um 13:25 Uhr schrieb Jean-Baptiste Onofré >> : >> Do you use the POI SMX bundle or do you wrap POI as private of your >>

Re:

2021-11-04 Thread JB Onofré
Hi Why not using a whiteboard pattern. You can have kind of controller service acting as whiteboard on « business » services. When a service pop up, the controller can deal with it. Regards JB > Le 4 nov. 2021 à 10:13, Serge Démoulin a écrit : > >  > Hi > > We are dev

Re: installation directory of Web-Console

2021-11-04 Thread JB Onofré
Oh by the way the webconsole itself is o.a.k.webconsole.console bundle. Regards JB > Le 4 nov. 2021 à 09:24, Serge Démoulin a écrit : > >  > Hi > in which directory are installed the bundles that are installed with the > Web-Console ? > best regards > Serge

Re: installation directory of Web-Console

2021-11-04 Thread JB Onofré
Hi You mean the webconsole itself bundles ? Else the bundles installed via the webconsole are exactly the same process as bundle:install command. So basically in data/cache Regards JB > Le 4 nov. 2021 à 09:24, Serge Démoulin a écrit : > >  > Hi > in which directory ar

Re: Charset issue

2021-10-28 Thread JB Onofré
Hi It’s JVM default so using LC_ALL and other env variable. You can check the passed locales using shell:info Regards JB > Le 28 oct. 2021 à 08:41, Andrei Petru Mura a écrit : > >  > I have AlmaLinux (CentOS follower) with jre 1.8.0. And Apache Karaf 4.0.4. > in

Re: Different result between Linux and Windows

2021-10-24 Thread JB Onofré
JavaSE requirement is provided in Karaf jre.properties. And we exposé up to JDK 18 now. Either it’s not the right jdk on Windows or jre.properties is an old one. Regards JB > Le 25 oct. 2021 à 08:39, Tim Ward a écrit : > > What version of Java are you using on Windows, and wha

Re: Different result between Linux and Windows

2021-10-24 Thread JB Onofré
Use <_noee>true on maven-bundle-plugin wrapping to avoid the requirement. It’s because the JRE wrapping tag name could be different. Regards JB > Le 25 oct. 2021 à 06:57, Paul Fraser a écrit : > >  > Hi, > > I am using a Vaadin addon ckeditor-vaadin_2.2.0, kara

Re: Multiple deploy directories in Karaf

2021-10-19 Thread JB Onofré
Generally speaking if you have dependency between bundles just wrap them in a feature. It’s more consistent. Regards JB > Le 19 oct. 2021 à 08:41, Andrei Petru Mura a écrit : > >  > I have the original deploy folder, like this: > felix.fileinstall.dir = ${kar

Re: Feature install of pax-jdbc-oracle fails

2021-10-06 Thread JB Onofré
Let me check in pax-jdbc it should be able to deal with that. I will keep you posted. Regards JB > Le 6 oct. 2021 à 17:24, John Taylor a écrit : > >  > Hi Oliver, > I had the same problem with mssql-jdbc. > But it's not exactly the same because the pax-jdbc-mss

Re: Karaf 5

2021-09-29 Thread JB Onofré
I started a service bridge allowing to implicit push some spring bean to the k5 registry and so that can be used from other modules running in k5. It’s a local branch for now but I can push it on main. Is it what you are looking for ? Regards JB > Le 29 sept. 2021 à 21:43, jgfrm a éc

Re: Problems with javax.annotation package

2021-09-28 Thread JB Onofré
So what’s the point in your previous email ? If the third party fixed their issue already that’s fine right ? Karaf can’t fix whole world issue ;) Regards JB > Le 29 sept. 2021 à 08:04, Richard Hierlmeier a > écrit : > >  > > Wrapping the bundle is not necessary for my

Re: Karaf 5

2021-09-27 Thread JB Onofré
Hi No it’s not this because k5 don’t use OSGi for the spring boot launcher. I still think it’s a missing add modules as Jvm arg. I will check today. Regards JB > Le 27 sept. 2021 à 23:39, jgfrm a écrit : > > While Googling, I came across on of your blogs > (http://nanthrax.

Re: Decanter and JMX

2021-09-22 Thread JB Onofré
Oh yes. It just has to be exposed. I will do that. I forgot, sorry for the inconvenience. Regards JB > Le 22 sept. 2021 à 15:50, Steven Huypens a écrit : > >  > Hi JB, > > While trying to expose a micrometer Gauge, I noticed that its Double value is > not shown by

Re: 4.3.3 bin/karaf debug clean problem

2021-09-20 Thread JB Onofré
It seems to work for me about deploy folder. I tested with bundles and features. I’m doing new tests now, but it seems ok. Regards JB > Le 20 sept. 2021 à 13:12, Paul Fraser a écrit : > > Hi JB, > > In previous emails to this list I have and also Matthias have reported tha

Re: Decanter and JMX

2021-09-19 Thread JB Onofré
. Thanks for pointing this. Regards JB > Le 19 sept. 2021 à 12:53, Steven Huypens a écrit : > >  > Hi JB, > > Thanks for the clarification, it works for me as described now. > > However, the problem I wanted to address was that if two different MBeans > would contain

Re: Cave 4.2.1 with Karaf 4.3.3

2021-09-18 Thread JB Onofré
Cave or cellar 4.2 are designed for Karaf 4.2. So you would need to wait cave 4.3 to be Karaf 4.3 compliant. Cave 4.3 will be on vote tomorrow or Monday night. Regards JB > Le 18 sept. 2021 à 12:34, Paul Fraser a écrit : > >  > Attempting to experiment with cave results in

Re: FileInstaller with 4.3.3

2021-09-17 Thread JB Onofré
I checked etc I will check deploy now. Regards JB > Le 17 sept. 2021 à 12:29, Paul Fraser a écrit : > > Hi JB, > > In my case the problem occurs using the deploy folder. > > Exact same code in 4.3.2 works, 4.3.3 does not install the deploy folder > files. > &

Re: FileInstaller with 4.3.3

2021-09-16 Thread JB Onofré
I mean a bug obviously ;) > Le 17 sept. 2021 à 06:13, JB Onofré a écrit : > > Ok it could be a big in FileInstall. Let me try and fix that. > > Thanks for the report. > > Regards > JB > >> Le 16 sept. 2021 à 22:42, Paul Fraser a écrit : >> >&g

Re: FileInstaller with 4.3.3

2021-09-16 Thread JB Onofré
Ok it could be a big in FileInstall. Let me try and fix that. Thanks for the report. Regards JB > Le 16 sept. 2021 à 22:42, Paul Fraser a écrit : > > Hi, > > With 4.3.2 and standard deploy folder, at startup, any files in deploy folder > were processed. > > Wi

Re: com.sun.org.apache.xml.internal.resolver package not available in Karaf 4.3.2

2021-09-15 Thread JB Onofré
Hi What’s your JDK version and provider ? Regards JB > Le 15 sept. 2021 à 12:51, Andrei Petru Mura a écrit : > >  > Hi all, > > I'm trying to upgrade to karaf 4.3.2. In the process, I try to install > xmlbeans with: > bundle:install -s > m

Re: Supported Java Version for Karaf 4.3.x?

2021-09-14 Thread JB Onofré
Supported version at core is jdk11+ (including 17). However most of Karaf core services are still jdk8 compliant, even if compiled with JDK 11. We don’t guarantee third party deps. That’s why we encourage people to use jdk11. Regards JB > Le 14 sept. 2021 à 16:50, Paul Spencer a éc

Re: Starting a bundle using aries blueprint - spring - camel. Getting Blueprint bundle is waiting for namespace handlers [http://www.osgi.org/xmlns/blueprint/v1.0.0]

2021-09-14 Thread JB Onofré
You can do it with blueprint even if you use spring beans. You can also use Aries blueprint spring extender but the namespace is blueprint anyway. Regards JB > Le 14 sept. 2021 à 11:13, Andrei Petru Mura a écrit : > >  > Hi Jean, > > I sent the email too quick. > &

Re: Getting spring status of Active bundle via JMX from Karaf 4.0.4

2021-09-10 Thread JB Onofré
Bundle:diag doesn’t help ? Anyway sure you can it programmatically by deploying your own bundle. But the problem is not jmx, ssh or code, it’s the fact we don’t provide spring-dm state service. So you would have to implement it yourself. Regards JB > Le 10 sept. 2021 à 12:28, Andrei Pe

Re: Getting spring status of Active bundle via JMX from Karaf 4.0.4

2021-09-10 Thread JB Onofré
Hi Karaf 4.0 is super old. Anyway we provided state for blueprint and SCR but not spring-dm. And spring-dm is now deprecated (replaced by blueprint). Any plan for you to move to blueprint ? Regards JB > Le 10 sept. 2021 à 12:13, Andrei Petru Mura a écrit : > >  > Hi there,

Re: Schedule for karaf 4.3.3

2021-08-23 Thread JB Onofré
Hi I have some dependency releases to cut still. The vote will start this week for sure. Probably on Wednesday. I will keep you posted later today or tomorrow. Regards JB > Le 23 août 2021 à 10:55, Richard Hierlmeier a > écrit : > >  > Hi JB, > > any progress

Re: Shutdown issue ActiveMq

2021-08-15 Thread JB Onofré
Hi I will take a look with the resources you sent on your last email. No need a jira for now, we will create one if the issue is confirmed. Regards JB > Le 16 août 2021 à 08:25, Jörg Jansen a > écrit : > > Good morning, > > I would like to bring up this point once ag

Re: Schedule for karaf 4.3.3

2021-08-05 Thread JB Onofré
Hi It’s planned to be on vote next week. Regards JB > Le 5 août 2021 à 11:16, Richard Hierlmeier a > écrit : > >  > > Do you have an planned release date for Karaf 4.3.3? > > The schedule at https://karaf.apache.org/download.html lists an ETA of July > 2021. > > Regards > > Richard

Re: Camel karaf

2021-07-13 Thread JB Onofré
Hi Matthias Sorry I was completely swamped with different things. I will try to answer tomorrow. Sorry about the delay. Regards JB > Le 13 juil. 2021 à 18:47, Matthias Leinweber a > écrit : > >  > no one? > >> Am Sa., 3. Juli 2021 um 22:42 Uhr sc

Re: Strange NoClassDefFoundError in VaadinServletService

2021-06-20 Thread JB Onofré
Hi Richard I don’t have time before Wednesday this week (off today and tomorrow for relocation). I will try to take a look on Wednesday. Regards JB > Le 21 juin 2021 à 07:53, Richard Hierlmeier a > écrit : > >  > I upgraded meanwhile to Karaf 4.3.2, but the problem i

Re: groovy-json and groovy-xml don't start within karaf 4.2.9

2021-06-17 Thread JB Onofré
As reminder: a fragment can’t be started as it’s attached to another bundle. So it’s normal to have « Fragment » for fragment bundles. > Le 17 juin 2021 à 10:42, Gerald Kallas a écrit : > >  > Hi all, > > I did install a vanilla karaf 4.2.9. For some groovy scripts we need > groovy-json and

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread JB Onofré
Oh sorry I mean at runtime you talk about build time. Can you share your Pom xml ? > Le 18 mai 2021 à 21:23, Alex Soto a écrit : > > Inline comments... > > >>> On May 18, 2021, at 12:28 PM, JB Onofré wrote: >>> >>> Hi Alex >>> >>

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread JB Onofré
the features repository. So if you don’t want the latest version you have to use [version,version] or blacklist in etc/org.Apache.Karaf.features.xml. Regards JB > Le 18 mai 2021 à 20:18, Alex Soto a écrit : > >  > Hi JB, > > I wonder how to tie the versions, apparently so

Re: instance:list causes warning

2021-05-12 Thread JB Onofré
Hi Forgot to check, sorry about that. I will keep you posted. Regards JB > Le 12 mai 2021 à 19:01, Steven Huypens a écrit : > >  > Hi Jean-Baptiste, > > Did you manage to reproduce this ? > > Kind regards, > Steven > >> On Tue, May 4, 2021 at 2:1

Re: Decanter and JMX

2021-05-12 Thread JB Onofré
will create the Jira. Regards JB > Le 12 mai 2021 à 18:58, Steven Huypens a écrit : > >  > Hi Jean-Baptist, > > 1) You mention the Prometheus appender only exposes the numeric metrics. I > believe it would be a minor but very useful addition to also expos

Re: Issue with wrapping jar bundle

2021-05-06 Thread JB Onofré
It should work with escape char. > Le 6 mai 2021 à 11:26, Benjamin Graf a écrit : > >  > Hi JB, > > does this work in feature description xml? This more looks like > maven-bundle-plugin config. > > Regards > Benjamin > > Gesendet: Donnerstag, 06

Re: karaf clean but keeping the data/log?

2021-05-05 Thread JB Onofré
Hi Unfortunately no. However as a workaround you can move log outside of the data folder (karaf_log). If you think it would help to add new clean option, please let me know I will create the jira. Regards JB > Le 5 mai 2021 à 18:56, Daniel Krügler a écrit : > > Hi, > &g

Re: How karaf handles Ctrl+D ?

2021-04-18 Thread JB Onofré
Hi It’s managed at terminal level. With local console/terminal ctrl-d is trapped and stop Karaf (like halt command). With ssh terminal ctrl-d just close the ssh client but of course not Karaf runtime itself. It’s on the terminal impl (and console session). Regards JB > Le 17 avr. 2

Re: Karaf 4.2.11 - "maven:repository-remove -id central" fails with NPE. Why?

2021-04-12 Thread JB Onofré
Catcha and self assigned ! Thanks ! > Le 12 avr. 2021 à 21:13, Freeman Fang a écrit : > >  > Hi JB, > > FYI, I created jira ticket https://issues.apache.org/jira/browse/KARAF-6772 > to track it, and leave it for you. > > Cheers > Freeman > > > >&

Re: Karaf 4.2.11 - "maven:repository-remove -id central" fails with NPE. Why?

2021-04-12 Thread JB Onofré
I meant « we should prevent » not « you » ;) I will do it tomorrow. > Le 12 avr. 2021 à 21:04, JB Onofré a écrit : > >  > That’s my point: you should prevent the NPE. > > I will fix that. > > Regards > JB > >>> Le 12 avr. 2021 à 21:00, Freem

Re: Karaf 4.2.11 - "maven:repository-remove -id central" fails with NPE. Why?

2021-04-12 Thread JB Onofré
That’s my point: you should prevent the NPE. I will fix that. Regards JB > Le 12 avr. 2021 à 21:00, Freeman Fang a écrit : > >  > Hi Paul, > > This is caused by that you don't have ~/.m2/settings.xml, so mavenSettings is > null. We need to add a NPE guard here.

Re: Error message Deployment aborted due to loop

2021-04-11 Thread JB Onofré
Thanks. I gonna take a look. Regards JB > Le 11 avr. 2021 à 20:17, Jakub Herkel a écrit : > > Hi, > > I found out that this feature can be used for demonstration of this error: > >description="test" > version="0.0.1" > &

Re: Is there a command that can list the availability of a package

2021-04-09 Thread JB Onofré
your project, I can take a look. Regards JB > Le 9 avr. 2021 à 18:26, Steinar Bang a écrit : > >  >> >>>>>> Jean-Baptiste Onofre : > >> Hi, >> I don’t see how it’s related to BoM: your missing requirement is at runtime, >> not build

Re: Calls via client.sh and client.bat on karaf 4.2.10 run into timout

2021-02-19 Thread JB Onofré
I mean the code fix I did already. > Le 19 févr. 2021 à 14:33, JB Onofré a écrit : > >  > Hi > > Let me check but I’m afraid we need a code fix. > > I will keep you posted. > > Regards > JB > >>> Le 19 févr. 2021 à 14:25, Lorr, Sebastian a

Re: Calls via client.sh and client.bat on karaf 4.2.10 run into timout

2021-02-19 Thread JB Onofré
Hi Let me check but I’m afraid we need a code fix. I will keep you posted. Regards JB > Le 19 févr. 2021 à 14:25, Lorr, Sebastian a > écrit : > >  > Hi JB, > > thanks for the quick response. Is there some workaround for this issue for > 4.2.10? >

Re: Calls via client.sh and client.bat on karaf 4.2.10 run into timout

2021-02-18 Thread JB Onofré
Hi I think it’s something I already fixed (but not yet released). Let me check. Regards JB > Le 18 févr. 2021 à 17:41, Lorr, Sebastian a > écrit : > >  > Hi, > > i observed following behaviour: > I deflate karaf4.2.10 zip (or tar.gz) > I change to bin-folder &g

Re: Karaf in docker - JMX access

2021-02-09 Thread JB Onofré
You are welcome ! Cheers JB > Le 9 févr. 2021 à 20:19, Daniel Las a écrit : > >  > Thanks a lot JB, it works now. > > Best regards > > wt., 9 lut 2021 o 16:27 Jean-Baptiste Onofre napisał(a): >> Be careful, by default, JMX is bound to localhost (not 0.0.0.

Re: Karaf 4.3.0 - REST via Blueprint - can't configure another/different HTTP Port

2021-01-27 Thread JB Onofré
You have to set the port in etc/org.ops4j.pax.web.cfg. Regards JB > Le 27 janv. 2021 à 20:37, Stefan Günst a écrit : > > Hi, > > based on this example: > > https://github.com/apache/karaf/tree/master/examples/karaf-rest-example/karaf-rest-example-blueprint > &

Re: Problems with Karaf build with profiles

2021-01-27 Thread JB Onofré
Hi I guess it works with mvn url right ? Regards JB > Le 27 janv. 2021 à 20:10, Geoffrey Seanor > a écrit : > >  > Hi, > > I have been creating a build based on Karaf v4.3.0 that uses profiles for > provisioning and have used the karaf-profile-example sample as

Re: Error pulling Karaf Docker Image

2021-01-22 Thread JB Onofré
I didn’t create the latest tag alias. I will. Defining the exact version should work (like 4.3.0). Regards JB > Le 22 janv. 2021 à 22:10, Erwin Hogeweg a écrit : > > Hi All - > > I am trying to pull a karaf docker image but that fails with the following > error: >

Re: First role of a group in users.properties is ignored

2021-01-13 Thread JB Onofré
ngroup >> _g_\:admingroup = group,admin,manager,viewer,systembundles,ssh >> >> Group is not really a role, it’s just a tag for group. >> >> For any group roles have to be defined with the following syntax: >> >> _g_\:group=group,role >> >&

Re: Karaf 4.3.0 and camel-activemq - Integration failed - searching for a solution

2021-01-08 Thread JB Onofré
Hi I recommend to use camel-JMS instead on camel-ActiveMQ. It’s more flexible and supporting the same features. I just did a quick camel routes with JMS and ActiveMQ without problem. Do you want me to add such example in the karaf camel one ? Regards JB > Le 8 janv. 2021 à 19:08, Ste

Re: Karaf 4.3.0 - HTTP Proxy feature - every 2 Sec Info Log in Karaf.log

2020-12-30 Thread JB Onofré
Thanks, I gonna check. It seems FileInstall sees a change in the file and trigger an update (doesn’t do anything anyway). I gonna fix that for 4.3.1. Regards JB > Le 30 déc. 2020 à 18:43, Stefan Günst a écrit : > >  > Hello, > > after activate etc/org.apache.karaf.h

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-24 Thread JB Onofré
I would consider as a big if I have the error on Windows. I’m suspecting an issue on Windows only (I hate this os ;) ). Let me setup a vm (just need time). Regard JB > Le 24 déc. 2020 à 16:36, michael e a écrit : > >  > Ok thanks so is a bug ? Or i just have to change somet

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-24 Thread JB Onofré
Understood. I don’t have any error. The error you have seems related to the rolling file configuration. Regards JB > Le 24 déc. 2020 à 15:16, michael e a écrit : > >  > Ok thanks 'All log files are created and populated' for me also just then in > the karaf i s

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-24 Thread JB Onofré
Yeah. I tried with the karaf camel examples. All log files are created and populated. I will bootstrap a Windows vm to test. Regards JB > Le 24 déc. 2020 à 14:52, michael e a écrit : > >  > No it is a last fresh download version ok Karaf (4.3.0) did you try with > camel

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-24 Thread JB Onofré
By the way, you don’t have any permission issue ? > Le 24 déc. 2020 à 14:42, JB Onofré a écrit : > >  > Do you use karaf vanilla or a custom distribution ? > > I confirm that it works fine for me on Karaf vanilla (at least on Linux). > > Regards > JB > >&g

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-24 Thread JB Onofré
Do you use karaf vanilla or a custom distribution ? I confirm that it works fine for me on Karaf vanilla (at least on Linux). Regards JB > Le 24 déc. 2020 à 14:02, michael e a écrit : > >  > I also add the absolute path i also get exception > > my configuration: > &

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-23 Thread JB Onofré
Hey I will open the PR tonight or tomorrow morning. When done I will share with you. Regards JB > Le 23 déc. 2020 à 18:06, michael e a écrit : > >  > Hi JB, > > Thanks for your response where i can find the exemple (if you did) ? > > Michael. > > De : JB

Re: Configuring MDC logging karaf 4 camel 3.7.0

2020-12-23 Thread JB Onofré
Hi Michael I will provide the updated example today (i already have a sift config ready I will just add camel mdc). Regards JB > Le 23 déc. 2020 à 10:59, michael e a écrit : > >  > Hello, > > I'm getting in trouble trying to configure MDC logging with latest Kar

Re: What's needed to make karaf pick up a command?

2020-01-25 Thread jb
HiDo you have the karaf service plugin in your pom ?It's this plugin which converts annotations to services.Take a look on the karaf-command-example.RegardsJBLe 25 janv. 2020 18:55, Steinar Bang a écrit :What's needed to make karaf pick up a command? Is it enough to annotate a class implementin

Re: 4.2.8-SNAPSHOT - StackOverflowError in 'whoami' after switching user.

2020-01-17 Thread jb
It's a known issue also impacting sudo.It will be fixed for 4.2.9.RegardsJBLe 17 janv. 2020 19:53, Erwin Hogeweg a écrit :Just FYI - I ran into a SOE while testing the jaas:su function. See below.It is not a show-stopper for me but I just wanted to let you know.Cheers,Erwinkaraf@root()> whoamiName

Re: Custom Karaf + Pax-Exam + Java11

2019-12-23 Thread jb
-Baptiste Onofré <jb@nanthrax.net> wrote:That's the easiest way ! That's exactly why I created KarafTestSupport ! Regards JB On 22/12/2019 12:40, Serge Huber wrote: > Yes indeed this is exactly the problem I’m seeing. I guess we really > need to use the KarafTestSupport fi

Re: jsf: NoClassDefFoundError org/eclipse/jetty/util/MultiPartInputStreamParser

2019-12-18 Thread jb
Yup, I just saw that as well. I'm fixing in pax web and prepare release/update.RegardsJBLe 18 déc. 2019 15:52, ffang a écrit :Hi, Yes, it’s caused that in jetty 9.4.20, MultiPartInputStreamParser was removed from OSGi header headers org.eclipse.jetty.util Jetty :: Utilities (276) ..

Re: jsf: NoClassDefFoundError org/eclipse/jetty/util/MultiPartInputStreamParser

2019-12-18 Thread jb
No problem, let me create the Jira.For a workaround, let me check what we can do. Maybe adding a dynamic import would help but I have to check.Give me sometime for that. I will get back to you. First I have to reproduce the issue.RegardsJBLe 18 déc. 2019 08:40, LuisLo a écrit :Could you create the

Re: Problem with features and signatures

2019-12-16 Thread jb
Ah I guess you are using features as packaging right ?We don't do that, we use pom packaging and karaf-maven-plugin is part of the execution.I'm thinking about removing features packaging and change generation to avoid confusion.RegardsJBLe 17 déc. 2019 06:32, j...@nanthrax.net a écrit :HiAs part o

Re: Problem with features and signatures

2019-12-16 Thread jb
HiAs part of release process we do features xml signing so the issue you describe surprises me.If you take a look on Central you will see the asc for karaf features and other projects like decanter, camel or cxf (using classifier).Do you have a simple pom.xml ? It's maybe a mistake in the configura

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread jb
riptor foo". Do you if this may cause misbehaviours?Il giorno mer 11 dic 2019 alle ore 19:00 <jb@nanthrax.net> ha scritto:HiThat's the way OBR works unfortunately. You can split the artifacts in different repositories.Do you have a lot of artifacts in your repository ?RegardsJBLe 1

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread jb
turn make obr:deploy fail. Is there a workaround?Il giorno mer 11 dic 2019 alle ore 17:20 Massimo Bono <massimobono1@gmail.com> ha scritto:yes, I'm using Cave 4.2.0. Let me try 4.2.1Il giorno mer 11 dic 2019 alle ore 16:27 Jean-Baptiste Onofré <jb@nanthrax.net> ha scritto:Hi, I kno

Re: Pax-JDBC, Derby, XA Datasource Error

2019-12-04 Thread jb
HiDo you have a transaction manager like narayana or transx installed in Karaf ?RegardsJBLe 4 déc. 2019 14:23, Alex Soto a écrit :Yes,Everything works as soon as I comment out the the line `xa=true` Best regards,Alex soto On Dec 3, 2019, at 10:16 PM, Jean-Baptiste Onofré <jb@nanthrax.

Re: Testing a HTTP GET from WAB

2019-11-16 Thread jb
HiIn the test, you can check with web:list and http:list if the status is deployed (and not deploying).Maybe you test the connection before the endpoint is actually started.You can see how we do it in the karaf examples itests.RegardsJBLe 16 nov. 2019 11:01, Massimo Bono a écrit :Hi,I've generated

Re: Problem with client.bat

2019-11-07 Thread jb
Hi DougDid you try without = ?The argument use -x y format, not -x=yRegardsJBLe 6 nov. 2019 22:41, "Jackson, Douglas" a écrit : Hi! I believe the client.bat is still broken with the way it handles arguments.   When trying to do the following:   Client.bat -h=localhost -u=karaf -p=admin "sh

Re: Problem with client.bat

2019-11-06 Thread jb
HiI think I fixed that for coming 4.2.8 no ?Let me check the jira.RegardsJBLe 6 nov. 2019 22:41, "Jackson, Douglas" a écrit : Hi! I believe the client.bat is still broken with the way it handles arguments.   When trying to do the following:   Client.bat -h=localhost -u=karaf -p=admin "shut

Re: Define Deployment Sequence of Activator Bundles in Karaf

2019-11-05 Thread jb
ng a écrit :Hi JB If  bundles NEED an order, that's probably something wrong.Is this a problem with module design? That how to design correctly. For example, I have two Bundles, BundleA provides the API and then BundleB implements the API of BundleA. In this way, BundleB relies on Bund

Re: ClassCastException with useSSH

2019-11-03 Thread jb
HiYes it will be fixed in 4.2.8. Let me double check the fix.RegardsJBLe 4 nov. 2019 08:22, stefang a écrit :Hi, any Chance to get this fixed in the next Version? Regards Stefan -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Create my own Whiteboard/Application with extensions

2019-10-30 Thread jb
HiThere's also an example in the karaf-rest-example.RegardsJBLe 30 oct. 2019 08:36, Christian Schneider a écrit :I created an example of an application that uses jax-rs-whiteboard.https://github.com/cschneider/osgi-best-practices/blob/master/backend/src/main/java/net/lr/tasklist/resource/TaskResou

Re: Pluggable databases in apache karaf

2019-10-26 Thread jb
HiI think you should take a look on pax-jdbc-config.It can simplify a lot your stuff.RegardsJBLe 26 oct. 2019 19:46, Steinar Bang a écrit :> Jean-Baptiste Onofré : > It's pretty close to Karaf JPA and JDBC examples right ? Not sure.  The JDBC example gets a DataSource and I'm unable to s

Re: Pluggable databases in apache karaf

2019-10-26 Thread jb
HiThanks for sharing, I will take a look.The purpose is to have a service layer ? What's the difference with pax-jdbc and karaf JDBC feature ?RegardsJBLe 26 oct. 2019 13:21, Steinar Bang a écrit :This blog post describes the way I switch between different database systems (in my case: switch betw

Re: Karaf 4.2.2 with jdk 11

2018-12-25 Thread jb
Thanks Freeman. I didn't check your fix yet, but what I did is o move the Java version check earlier in the script to set the classpath. Regards JB On Wednesday, December 26, 2018 08:08 CET, Freeman Fang wrote:   tracked and fixed by  https://issues.apache.org/jira/browse/KARAF

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-25 Thread jb
Hi Oleg, I fixed on a local branch. Any system using wrapper is impacted (it doesn't matter if it's Linux or Windows). I will create the PR tonight and it will be fixed on master soon. Regards JB On Wednesday, July 25, 2018 12:40 CEST, Oleg Cohen wrote:   Same with me on L

Re: Karaf Cellar cluster bundle update propagation

2018-07-25 Thread jb
/master/bundle/src/main/java/org/apache/karaf/cellar/bundle/BundleSupport.java#L130 Let me try to reproduce. I keep you posted. Regards JB On Wednesday, July 25, 2018 15:57 CEST, Oleg Cohen wrote:  Greetings, I have a question about how bundle update is handled across a Cellar cluster. I have

Re: java.lang.NullPointerException on cluster:bundle-* commands after calling cluster:bundle-update

2018-07-25 Thread jb
Hi Let me create a Jira and fix that, that's probably a refresh on the event handler. By the way, what's the Karaf and Cellar version ? Did you try a cluster:sync ? Regards JB On Wednesday, July 25, 2018 16:41 CEST, Oleg Cohen wrote:  Greetings, I have a three-node Cellar clus

Re: Deployment difference between karaf feature bundle and karaf bundle:install

2018-07-15 Thread jb
if you do getServiceReferences("my-stuff") in the bundle providing itself the my-stuff service, it's a bad design and it should directly use the instance (service providers and service "clients" should be in separated bundles). Regards JB On 2018-07-15 21:44, imranraza

Merry Christmas

2015-12-25 Thread jb
On behalf of the Karaf team, we wish a happy christmas to all Karaf users ! We are preparing a couple of gifts for you, especially the new website. I worked on it yesterday and I will work again on it today. I hope to send a vote e-mail soon. Again Merry Christmas JB

Re: dev:create-dump KarafMBeanServerBuilder not initialized

2015-07-31 Thread jb
Hi Piet, what's the Karaf version ? Regards JB Le 2015-07-31 15:25, Piet Molenaar a écrit : Hi, To investigate possible memory issues I want to create a heap dump. A zipped file is created but no heapdump.txt is present in there (). The log produces the following warning: 2015-07-31

Re: cxf version

2015-05-28 Thread jb
In that case, you have to add: https://repository.apache.org/content/groups/snapshots/ in the etc/org.ops4j.pax.url.mvn.cfg (with @snapshots). But, careful, there's no guarantee that the SNAPSHOTs will be available (this repo is periodically cleanup). Regards JB On 2015-05-28

Re: cxf version

2015-05-28 Thread jb
Why not just using the released version ? Regards JB On 2015-05-28 16:37, developm...@mobigov.com wrote: I think you guys are correct. Even though the webconsole shows cxf 3.1.0.SNAPSHOT as installed and active, when I do a features:list -i no version of cxf is in there. I do not even see a

Re: cxf version

2015-05-28 Thread jb
If you do feature:list -i|grep cxf ? do you see multiple CXF versions installed ? Regards JB On 2015-05-28 16:11, developm...@mobigov.com wrote: yes for that version I installed by hand exactly as you said. Since then I have created a custom build and used cxf version 3.0.5. but for the

Re: cxf version

2015-05-28 Thread jb
So, did you install the CXF feature by hand ? Maybe you depend to a feature which itself depends to CXF (with ) ? How did you do that ? feature:repo-add cxf or did you specify a version ? Regards JB On 2015-05-28 15:47, developm...@mobigov.com wrote: It depends on several other features

Re: Problem with JPA,JNDI after installing CXF feature

2015-05-27 Thread jb
It could be interesting to check if installing the CXF feature doesn't install a new JNDI ContextFactory that cross the jndi feature one. I will check as soon as I have some time. Regards JB On 2015-05-27 22:46, Christian Schneider wrote: Can you post your code somewhere? I wou

Re: ECF 3.9.2 released

2014-12-23 Thread jb
Hi Scott, thanks for the update. If you don't mind, I will update the Karaf documentation to include a section about ECF (with CXF DOSGi and Cellar DOSGi references). Regards JB Le 2014-12-23 09:23, Scott Lewis a écrit : ECF 3.9.2 is now available [1]. ECF 3.9.2 provides a complet

Re: cellar and service properties

2014-03-14 Thread jb
Cellar doesn't sync the deploy folder. The cfg file should go into the etc folder (and it will be sync). To filter the sync, you can use the blacklist/whitelist (in etc/org.apache.karaf.cellar.groups.cfg). Regards JB On 2014-03-14 16:20, Natalius wrote: Le 14.03.2014 11:31, Jean-Bap

Re: Karaf on Raspberry Pi

2014-03-13 Thread jb
Hi, you can use Karaf on Raspberry. The only required support is if you want to use the service wrapper (which require native code/library). Regards JB On 2014-03-13 17:11, dsoto wrote: I need ARM support (for the service wrapper in 3.x) for a research project at university. Are you still

  1   2   >