Re: Weird sshd-SshServer SSH2_DISCONNECT_PROTOCOL_ERROR - Detected AuthTimeout after messages

2021-05-06 Thread Jean-Baptiste Onofre
Hi Oleg, Thanks for the update ;) Regards JB > Le 6 mai 2021 à 18:01, Oleg Cohen a écrit : > > Hi JB, > > Definitely my problem :-) Was able to figure it out. Wrong port for the POD > monitoring. > > Thank you! > Oleg > >> On May 6, 2021, at 10:24 AM, Oleg Cohen wrote: >> >> Hi JB, >>

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

2021-05-06 Thread Jean-Baptiste Onofre
Hi Alex, Yes, the version is not correct. I would check your feature / pom.xml, maybe you don’t have version defined, so it takes the latest one. Regards JB > Le 6 mai 2021 à 18:56, Alex Soto a écrit : > > > I see… > > Karaf is looking for wrap version 2.6.7, but the version the

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

2021-05-06 Thread Alex Soto
I see… Karaf is looking for wrap version 2.6.7, but the version the framework feature brings is version is 2.6.2, so it does not find it. However, I don’t know who is pulling version 2.6.7. Will search for that... Best regards, Alex soto > On May 6, 2021, at 10:15 AM, Alex Soto

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

2021-05-06 Thread Alex Soto
Thanks, JB, but I don’t understand. When I inspect my /etc/org.apache.karaf.features.cfg file: # # Comma separated list of features repositories to register by default # featuresRepositories = \ mvn:org.apache.karaf.features/standard/4.3.0/xml/features, \

Re: Weird sshd-SshServer SSH2_DISCONNECT_PROTOCOL_ERROR - Detected AuthTimeout after messages

2021-05-06 Thread Oleg Cohen
Hi JB, Definitely my problem :-) Was able to figure it out. Wrong port for the POD monitoring. Thank you! Oleg > On May 6, 2021, at 10:24 AM, Oleg Cohen wrote: > > Hi JB, > > I didn’t install anything specific. No Decanter. Is there a way to trace and > see where the SSH requests are

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

2021-05-06 Thread Jean-Baptiste Onofre
Hi, osgi.function is part of the framework feature: https://github.com/apache/karaf/blob/main/assemblies/features/framework/src/main/feature/feature.xml#L34 That’s for Karaf 4.3.1/4.3.2.

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

2021-05-06 Thread Alex Soto
Hello, Using a custom distribution, based on Karaf version 4.3.0, I am getting the following error, and Karaf would not start: $ bin/karaf org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=wrap;

RE: Configuring MDC logging karaf 4 camel 3.7.0

2021-05-06 Thread michael e
Hello All, I still have bugs (by the way is terribly complex configuration with no clear documentation). Here my configuration log4j2.appender.sift.type = Routing log4j2.appender.sift.name = Routing log4j2.appender.sift.routes.type = Routes log4j2.appender.sift.routes.pattern =

Re: Can't start karaf using the wrapper on AIX 7.2

2021-05-06 Thread Jean-Baptiste Onofre
Hi, Definitely patch-module are required, my point is to use "regular" java command line instead of JDK_JAVA_OPTIONS. As the wrapper won’t "parse" regular java command line, I guess it should work (I have to check the syntax though). +1 to add some details in KARAF-6439. Thanks ! Regards JB

RE: Can't start karaf using the wrapper on AIX 7.2

2021-05-06 Thread Frank 'S Jegers
Hi, It may work without the --patch-module options, but I assume those options were added for a reason ? It works if in karaf-wrapper.conf the option set.JDK_JAVA_OPTIONS= is removed. I added the arguments as JVM Parameters, like this :

Re: Weird sshd-SshServer SSH2_DISCONNECT_PROTOCOL_ERROR - Detected AuthTimeout after messages

2021-05-06 Thread Oleg Cohen
Hi JB, I didn’t install anything specific. No Decanter. Is there a way to trace and see where the SSH requests are coming from? Thank you! Oleg > On May 6, 2021, at 10:10 AM, Jean-Baptiste Onofre wrote: > > Hi Oleg, > > Maybe you have a monitoring solution (as Decanter) that pull the MBean,

Re: Weird sshd-SshServer SSH2_DISCONNECT_PROTOCOL_ERROR - Detected AuthTimeout after messages

2021-05-06 Thread Jean-Baptiste Onofre
Hi Oleg, Maybe you have a monitoring solution (as Decanter) that pull the MBean, and so perform ssh connection when listing the instances in the InstanceMBean. It seems that something tries a ssh connect ;) Regards JB > Le 6 mai 2021 à 15:53, Oleg Cohen a écrit : > > Greetings, > > I

Weird sshd-SshServer SSH2_DISCONNECT_PROTOCOL_ERROR - Detected AuthTimeout after messages

2021-05-06 Thread Oleg Cohen
Greetings, I started a new karat instance in a Kubernetes pod from a custom distro. I am seeing the following set of messages in the log every few seconds. 2021-05-06T13:49:30,946 | INFO | sshd-SshServer[7467ccad](port=8101)-timer-thread-1 | ServerSessionImpl | 309 -

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. Mai 2021 um 11:11 Uhr > Von:

Aw: Re: Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi JB,   does this work in feature description xml? This more looks like maven-bundle-plugin config.   Regards Benjamin   Gesendet: Donnerstag, 06. Mai 2021 um 11:11 Uhr Von: "Jean-Baptiste Onofre" An: user@karaf.apache.org Betreff: Re: Issue with wrapping jar bundle Did you try

Re: Issue with wrapping jar bundle

2021-05-06 Thread Jean-Baptiste Onofre
Did you try Import-Package=!java.io ,* ? Regards JB > Le 6 mai 2021 à 10:45, Benjamin Graf a écrit : > > Hi JB, > > yes still using 4.2.11. What's the correct syntax to exclude the generation > of java.io import in wrap:mvn:... feature statement? > > Regards > Benjamin >

Aw: Re: Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi JB,   yes still using 4.2.11. What's the correct syntax to exclude the generation of java.io import in wrap:mvn:... feature statement?   Regards Benjamin     Gesendet: Donnerstag, 06. Mai 2021 um 09:25 Uhr Von: "Jean-Baptiste Onofre" An: "user" Betreff: Re: Issue with wrapping jar

Re: Issue with wrapping jar bundle

2021-05-06 Thread Jean-Baptiste Onofre
Hi Benjamin, You can exclude the java.io import. Anyway, I guess you are not using Karaf 4.3.1: I fixed the issue on this release with https://issues.apache.org/jira/browse/KARAF-7012 Regards JB > Le 6 mai 2021 à 08:10,

Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi, what can I do if wrapping a jar generates import for osgi package "java.io" which can not be resolved. I recognized this issue with actual oracle ojdbc11 driver. The same works with sibling ojdbc8. Thanks for help :) Regards Benjamin OpenPGP_signature Description: OpenPGP digital