Re: Karaf Decanter log => mail

2019-07-08 Thread Jean-Baptiste Onofré
s been received. > > If I try to use the TRACE level for the decanter package space to > "see" what's going on > karaf@root()> log:set TRACE org.apache.karaf.decanter > > I get the additional log message: > === > 2019-07-08 13:48:55,021 Karaf local console user karaf ERROR Recursive > call to appender PaxOsgi > === > > So, I assume I need to use a debugger to get further information what > is going on / wrong. > > Any other suggestions? > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf Decanter log => mail

2019-07-08 Thread Jean-Baptiste Onofré
s been received. > > If I try to use the TRACE level for the decanter package space to > "see" what's going on > karaf@root()> log:set TRACE org.apache.karaf.decanter > > I get the additional log message: > === > 2019-07-08 13:48:55,021 Karaf local console user karaf ERROR Recursive > call to appender PaxOsgi > === > > So, I assume I need to use a debugger to get further information what > is going on / wrong. > > Any other suggestions? > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-07-02 Thread Jean-Baptiste Onofré
71.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-07-02 Thread Jean-Baptiste Onofré
Hi, I'm testing it today as part of Jira KARAF-6334. Regards JB On 03/07/2019 01:27, ntle wrote: > Hi JB, > > Do you have any update on this? > > Thai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Ba

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-01 Thread Jean-Baptiste Onofré
ith docker logs aggregator (fluentd). I would prefer to turn > console output into json with JsonLayout... > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-07-01 Thread Jean-Baptiste Onofré
ckson.databind.ObjectMapper not found by >>> org.ops4j.pax.logging.pax-logging-logback >> >> You can try a dynamic import on pax-logging-logback. > > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Known issues with maven-bundle-plugin 4.1.0 and 4.2.0

2019-06-30 Thread Jean-Baptiste Onofré
gt; > And looking at the feature files there doesn't seem to be any feature > file changes from this, because I'm depending on the scr feature which > is provided at runtime by karaf. > > I'm currently using karaf 4.2.6 (on openjdk-11). > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Known issues with maven-bundle-plugin 4.1.0 and 4.2.0

2019-06-30 Thread Jean-Baptiste Onofré
2InjectionManagerFactory.java:79) > ~[?:?] > at > org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory.create(Hk2InjectionManagerFactory.java:97) > ~[?:?] > at > org.glassfish.jersey.internal.inject.Injections.createInjectionManager(Injections.java:93) > ~[?:

Re: Kar installer alto start bundle regardless of start=false in feature

2019-06-25 Thread Jean-Baptiste Onofré
le.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

New blog post about Karaf with Kubernetes

2019-06-25 Thread Jean-Baptiste Onofré
Hi guys, Just to let you know I just finished a new blog post about Karaf running with Kubernetes (following the previous blog post about Karaf with Docker): http://blog.nanthrax.net/?p=943 I will update the website with the link tomorrow. Enjoy ! Regards JB -- Jean-Baptiste Onofré jbono

Re: karaf 4.2.6 httpwhiteboard service not deploy servlet context

2019-06-25 Thread Jean-Baptiste Onofré
p.whiteboard.context.select=(osgi.http.whiteboard.context.name=HomeServletContextHelper)" > } > ) > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: karaf 4.2.6 httpwhiteboard service not deploy servlet context

2019-06-25 Thread Jean-Baptiste Onofré
> | [/] > 133 | ResourceServlet | /icons/*:/icons | Deployed| /icons/* > > | [/icons/*] > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Feature Update Technique

2019-06-25 Thread Jean-Baptiste Onofré
> > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-23 Thread Jean-Baptiste Onofré
In that case, I’m not able to use it to exclude fields of the > resulting json log but instead exclude entire logs based on the > content of the log message.  > > I guess I’ll need to put this functionality in a custom marshaller?  > > > Thanks > &

Re: karaf 4.2.6 httpwhiteboard service not deploy servlet context

2019-06-21 Thread Jean-Baptiste Onofré
ble.com/file/t498183/webconsole.png> > > I got no error from karaf log. Can someone advise what i am missing? > > Thai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: karaf 4.2.6 httpwhiteboard service not deploy servlet context

2019-06-21 Thread Jean-Baptiste Onofré
83/webconsole.png> > > I got no error from karaf log. Can someone advise what i am missing? > > Thai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Which karaf concept is used in JMXCollector to dynamically add harvester per config file

2019-06-21 Thread Jean-Baptiste Onofré
s in a different order so I think > being very careful or perhaps pedantic about terminology, while annoying to > write:-) is worth the time. > > Thanks > David Jencks > > Sent from my iPhone > >> On Jun 21, 2019, at 12:13 AM, Jean-Baptiste Onofré wrote: >>

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-21 Thread Jean-Baptiste Onofré
gt; JB > > On 08/06/2019 18:52, Noobtube Account wrote: > > Great! Are we also able to control the format or turn fields off?  > > > > > > On Sun, 9 Jun 2019 at 2:51 am, Jean-Baptiste Onofré > mailto:j...@nanth

Re: Which karaf concept is used in JMXCollector to dynamically add harvester per config file

2019-06-21 Thread Jean-Baptiste Onofré
an email from Talend, your contact personal data will > be on our systems. Please see our contacts privacy notice at Talend, > Inc. <https://www.talend.com/contacts-privacy-policy/> > > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Capabilities and requirements

2019-06-20 Thread Jean-Baptiste Onofré
fy doesn't fail.  It's > almost like the verify is able to resolve the requirement and > capability, but it can't at runtime. > > Ryan > > > On Thu, Jun 20, 2019 at 10:50 AM Jean-Baptiste Onofré <mailto:j...@nanthrax.net>> wrote: > > Hi Ryan,

Re: Capabilities and requirements

2019-06-20 Thread Jean-Baptiste Onofré
ce to feature test2, unless I install > feature test2 first, "feature:install test2".  I guess that's a little > why I am confused.  I'm also confused why the verify doesn't fail.  It's > almost like the verify is able to resolve the requirement and > capabil

Re: Capabilities and requirements

2019-06-20 Thread Jean-Baptiste Onofré
work, why I don't get a failure when > I verify the features for the above.  I figured by referencing test2 > (which lives in the other features.xml in the second case), it was > discover that it provides the required capability. > > In reading the Karaf docs again (which I apprec

Re: Capabilities and requirements

2019-06-19 Thread Jean-Baptiste Onofré
takes longer to create the > updated aggregate feature xml. > > Ryan > > On Sat, Jun 15, 2019, 12:01 PM Jean-Baptiste Onofré <mailto:j...@nanthrax.net>> wrote: > > Hi Ryan, > > I will provide a more complete answer (I don't have time right now), bu

Re: Authentication in a custom web application in karaf

2019-06-18 Thread Jean-Baptiste Onofré
b.xml configuration. Later, I realized that I > chose the wrong architecture. > > I will try and test with your approach. > > Thanks again. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html >

Re: Capabilities and requirements

2019-06-15 Thread Jean-Baptiste Onofré
to use > dependency=true for a feature.  I am primarily talking about custom > capabilities and requirements I make up myself for a system to pull > things in. > > Not sure if the above questions fully make sense, having a hard time > articulating exactly what I am trying to figure out. > > Thanks for any help! > > Ryan -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-06-14 Thread Jean-Baptiste Onofré
; -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-06-14 Thread Jean-Baptiste Onofré
e and install to karaf to see at which bundle this > behavior occurs. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: BundleWiring is null for xxx

2019-06-13 Thread Jean-Baptiste Onofré
i bundle. > Hope someone can shed a light. > > Thai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-06-13 Thread Jean-Baptiste Onofré
karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Kar installer alto start bundle regardless of start=false in feature

2019-06-13 Thread Jean-Baptiste Onofré
sgi.service/jaxrs/1.0.0-201802012106 > start="false">mvn:org.osgi.service/metatype/1.3.0-201505202024 > start="false">mvn:org.osgi.util/function/1.1.0-201802012106 > start="false">mvn:org.osgi.util/promise/1.1.0-201802012106 > start="false">mvn:org.osgi.util/pushstream/1.0.0-201802012107 > ... > > > > I'm not sure if this is due to the installation of the o.eclipse.equinox* > and org.osgi* bundles in my features. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Slow shutdown of karaf

2019-06-13 Thread Jean-Baptiste Onofré
little lost with these problems... > I am using karaf 4.1.2 > > Any suggestion or hints to investigate are welcome ! > > Thanks > > Patrick -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: How to enable osgi bundle resolver tracing

2019-06-13 Thread Jean-Baptiste Onofré
Yes, just add org.apache.karaf.kar logger. Regards JB On 13/06/2019 17:06, ntle wrote: > Thanks JB, > > I see the logger for features now. Is there a logger for kar installer? > > Thai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930

Re: How to enable osgi bundle resolver tracing

2019-06-13 Thread Jean-Baptiste Onofré
feature logger is not shown, when i install my > feature , i see exception from the resolver now on the console. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: How to enable osgi bundle resolver tracing

2019-06-12 Thread Jean-Baptiste Onofré
r finish. I suspect > something wrong with the bundle resolution so i want to see how karaf > resolve bundle dependencies. Is there a setting in org.ops4j.pax.logging.cfg > for this? > > Thai Le > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f

Re: Karaf-1.2.6 - No dice with web console branding

2019-06-12 Thread Jean-Baptiste Onofré
; > > This is the tree in the bundle jar: > . > |res > | |ui > | | |webconsole.css > | |imgs > | | |favicon.png > | | |logo.png > |META-INF > | |MANIFEST.MF > | |LICENSE > | |DEPENDENCIES > | |NOTICE > | |webconsole.properties > > > > Cheers, > > Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Problems with Jetty Session Managemenent?

2019-06-11 Thread Jean-Baptiste Onofré
> number? > > Best regards, > Lukasz Lech > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Problems with Jetty Session Managemenent?

2019-06-11 Thread Jean-Baptiste Onofré
es for pax web. What is the issue > number? > > Best regards, > Lukasz Lech > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: [ANN] Apache Karaf (runtime) 4.2.6 has been released!

2019-06-10 Thread Jean-Baptiste Onofré
the hard work. > > Erwin > > El jun. 10, 2019, a la(s) 12:39, Jean-Baptiste Onofré > escribió: > >> The Apache Karaf team is pleased to announce Apache Karaf (runtime) >> 4.2.6 release! >> >> Apache Karaf (runtime) 4.2.6 is a maintenance release on the 4.2.x &g

[ANN] Apache Karaf (runtime) 4.2.6 has been released!

2019-06-10 Thread Jean-Baptiste Onofré
The Apache Karaf team is pleased to announce Apache Karaf (runtime) 4.2.6 release! Apache Karaf (runtime) 4.2.6 is a maintenance release on the 4.2.x series. It brings improvements, dependency updates, and bug fixes especially: * fix SCR with Equinox * fix subshell mode * Pax Web and Jetty upgrad

Re: feature for jetty proxy

2019-06-10 Thread Jean-Baptiste Onofré
lient should still support all > stuff used by the proxy servlet but how knows... > > > The Jetty proxy artifact is already an OSGi bundle, so what's the "big > win" to add its classes to every bundle as private package instead of > adding the jetty-proxy bundle to the OSGi runtime? > > Thank you for your patient, > Markus > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: feature for jetty proxy

2019-06-10 Thread Jean-Baptiste Onofré
araf and jetty-proxy to align the versions. > And all the ones that don't need the feature just don't need to > install it (as any other). > > Best regards, > Markus > > Am Mo., 10. Juni 2019 um 13:32 Uhr schrieb Jean-Baptiste Onofré > : >> >> Hi Ma

Re: feature for jetty proxy

2019-06-10 Thread Jean-Baptiste Onofré
s using dependency="true" so it is not installed if not needed? > > Best regards, > Markus > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Jean-Baptiste Onofré
, 9 Jun 2019 at 2:51 am, Jean-Baptiste Onofré <mailto:j...@nanthrax.net>> wrote: > > Yes, Decanter Log Collector is a global Pax Logging "sniffer". So it > takes messages from any bundle by default. > > However, you can configure this d

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Jean-Baptiste Onofré
llector-log > feature:install decanter-appender-file > > Then I edited etc/org.apache.karaf.decanter.appender.file.cfg and > added:  > # Marshaller > marshaller.target=(dataFormat=json) > > But I don't see any logs created. Do we need to instal

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Jean-Baptiste Onofré
By the way, instead of doing that, you can use regular logging and use Decanter with the log collector and the json marshaller to create json output (to log, file, elasticsearch or whatever). Regards JB On 08/06/2019 16:30, Jean-Baptiste Onofré wrote: > Hi > > You don't have to ad

Re: Adding Jackson to Karaf startup.properties file to enable JSON logging

2019-06-08 Thread Jean-Baptiste Onofré
ObjectMapper not found by > org.ops4j.pax.logging.pax-logging-logback [13] > at > org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) > ~[?:?] > at > org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) > ~[?:?] > at > org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) > ~[?:?] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?] > ... 26 more > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Preparing Apache Karaf track at ApacheCon NA

2019-06-07 Thread Jean-Baptiste Onofré
rd and promote the Karaf track ! Thanks, Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Create log appender programmatically (Karaf 4.2.5)

2019-06-07 Thread Jean-Baptiste Onofré
ion like a "ConfigurationBuilder" replacement in > pax-logging. > > Regards > Jochen > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Create log appender programmatically (Karaf 4.2.5)

2019-06-07 Thread Jean-Baptiste Onofré
custom appender, just > configure a rolling file appender, but from code instead of from config > file. > > Best Regards > > Jochen > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Jean-Baptiste Onofré
FYI, I created https://issues.apache.org/jira/browse/KARAF-6321 about that. Regards JB On 07/06/2019 07:46, Jean-Baptiste Onofré wrote: > Hi Max, > > Understood, I see the points, I will add some options to allows you to > deal with CTRL-D and logout (prob

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-06 Thread Jean-Baptiste Onofré
> Is this somehow a defined behavior that there’s no validation, or it’s a > bug? > >   > > Best regards, > > Lukasz Lech > >   > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Jean-Baptiste Onofré
original question :-) > > Regards, > -Max > > > On 6/3/19 2:57 AM, Jean-Baptiste Onofré wrote: >> Hi, >> >> You want to fully disable CTRL-D ? (and force "logout" usage instead) >> >> I can add an option to ssh for that. >> >>

Re: Change Prompt after executing a command

2019-06-05 Thread Jean-Baptiste Onofré
ke "exit". > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Loader constraint violation: javax.xml.soap.SOAPFault

2019-06-05 Thread Jean-Baptiste Onofré
; at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lan

Re: Loader constraint violation: javax.xml.soap.SOAPFault

2019-06-05 Thread Jean-Baptiste Onofré
de... > > Can it be some issue between karaf and cxf? > > And general question: how to debug such issues in first line? The class is > allegedly loaded twice, but which bundles have loaded it using which > classloaders? > > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-05 Thread Jean-Baptiste Onofré
> verify will fail, however the non-existing bootFeature will be silently > ignored. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf shutdown and create dump file

2019-06-04 Thread Jean-Baptiste Onofré
e a case in which karaf stops the execution? For example, lack of > memory or other resources. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Change Prompt after executing a command

2019-06-04 Thread Jean-Baptiste Onofré
gt; karaf@root():item:12345>item:change content "42 rules" > Changed content of item with id 12345 to "42 rules" > > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-04 Thread Jean-Baptiste Onofré
e simply ignored.   > >   > > Is this somehow a defined behavior that there’s no validation, or it’s a > bug? > >   > > Best regards, > > Lukasz Lech > >   > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-03 Thread Jean-Baptiste Onofré
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Fine-grained control of service dependencies, constraints and capabilities in OSGi r6 (or r7)

2019-06-03 Thread Jean-Baptiste Onofré
le as well. > The frameworks we need should work in Karaf, so we are restricted to Equinox > and Felix. > > We would really like to hear if what we want is possible and if so in what > way. > > Thanks in advance! > > > > - > Regards, > SvS >

Re: Staged Boot Question

2019-06-01 Thread Jean-Baptiste Onofré
in the assembly pom to get it into features.cfg? >     > standard > {pax-http) > vaadin-flow >     > > If only one level, how is standard staged? > > Or should vaadin-flow be placed in ? > > Paul > > On 2/06/2019 3:06 pm, Jean-Baptiste Onofré wrote: &g

Re: Staged Boot Question

2019-06-01 Thread Jean-Baptiste Onofré
activated. > > At present, the only way I can get the correct order is to include > pax-http in my assembly and start a vaadin flow feature containing the > vaadin server after karaf is running. > > Paul Fraser > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Debugging Itests

2019-06-01 Thread Jean-Baptiste Onofré
You need debugConfiguration only if you want to specify the port. By default it's 5005 (not random), so, yes, it should work straight forward. Regards JB On 01/06/2019 14:04, Paul Fraser wrote: > On 1/06/2019 7:10 pm, Jean-Baptiste Onofré wrote: >> Actually, if you run in debug mo

Re: Debugging Itests

2019-06-01 Thread Jean-Baptiste Onofré
Actually, if you run in debug mode directly in intellij, it works, nothing special is required. Are you running your itests in IntelliJ ? Regards JB On 01/06/2019 08:09, Paul Fraser wrote: > On 1/06/2019 4:03 pm, Jean-Baptiste Onofré wrote: >> Hi Paul, >> >> What Pax Exam

Re: Debugging Itests

2019-05-31 Thread Jean-Baptiste Onofré
uot; and then > > "Listening for transport dt_socket at address:5005" > > If I run debugging outside an itest with "bin\karaf debug" , it works. > > What am I missing in the debug itests case? > > Paul Fraser > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Log4j2 in osgi-bundle

2019-05-30 Thread Jean-Baptiste Onofré
is also working. > > But i dont understand what information i get when i run in karaf the > command package:exports|grep -i log4j. Also, i dont understand what > [2,3) means? > > > But i have two working solutions with slf4j of log4j that work now. > Perfect, thanks.

Re: Log4j2 in osgi-bundle

2019-05-30 Thread Jean-Baptiste Onofré
d karaf. How can i add log4j accurate in a osgi-bundle, > so its log is shown in karaf log:display? > > Regards, > Matthias > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Assembly Archetype 4.2.5 Error

2019-05-30 Thread Jean-Baptiste Onofré
rmi.transport.Transport$1.run(Transport.java:197) >     at java.security.AccessController.doPrivileged(Native Method) >     at sun.rmi.transport.Transport.serviceCall(Transport.java:196) >     at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) >     at > sun.rmi.transpo

Re: Karaf-4.2.5 - Duplicate MySQL DataSourceFactories

2019-05-27 Thread Jean-Baptiste Onofré
eature I get the console commands back but now I also have > duplicate DSFactory again. > > Just FYI. > > > Regards, > > Erwin > > >> On May 22, 2019, at 09:39, Jean-Baptiste Onofré > <mailto:j...@nanthrax.net>> wrote: >> >> Hi Erwin,

Re: Problem with SpiFly serviceloader

2019-05-26 Thread Jean-Baptiste Onofré
. > > Paul > > On 26/05/2019 4:36 pm, Benjamin Graf wrote: >> Hi Paul, >> >> did you install >> mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.2.1? >> >> It's not listed in your feature file. >> >> I think th

Re: Rotating karaf.log?

2019-05-26 Thread Jean-Baptiste Onofré
You are welcome ;) Regards JB On 26/05/2019 08:26, Steinar Bang wrote: >>>>>> Jean-Baptiste Onofré : > >> Hi Steinar, >> yes, you can rotate by configuration in etc/org.ops4j.pax.logging.cfg. > >> By configuration, the rotation is set to 16M

Re: Problem with SpiFly serviceloader

2019-05-25 Thread Jean-Baptiste Onofré
ot;(osgi.extender=osgi.serviceloader.registrar)" >>> >>> Karaf features for handling serviceloader seem to require >>> "aries-proxy" and "http" to provide all thats needed. >>> >>> What am I missing? >>> >>> Paul Fraser >>> > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Information about Archetypes and Features

2019-05-25 Thread Jean-Baptiste Onofré
nd-spot for those who are not so close to karaf. > > Now i enjoy digging deeper into karaf, hoping that the next steps are not so > hard. > > Regards, > Matthias > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-24 Thread Jean-Baptiste Onofré
ailure state. > > Completely weird. > > So, in summary: I can install this feature via feature:install (after > tweaking the service availability as optional), but not as a bootFeature. > > I will try to dig a bit more, and post back. Right now, I am totally out of > clues :D >

Re: Features Core bundle stuck in "Resolved" state

2019-05-24 Thread Jean-Baptiste Onofré
uot;. But, this had no effect. > > How can I provide a capability to a feature? Should I do it in the feature > file or the maven bundle plugin? > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-24 Thread Jean-Baptiste Onofré
ture". It would be great if you could post that. > > I will buzz you from the respective thread in this forum. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-24 Thread Jean-Baptiste Onofré
t; > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-24 Thread Jean-Baptiste Onofré
I will look at these things to > see if I can improve those things. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-24 Thread Jean-Baptiste Onofré
logs that are collected and > appended(where?). > > Does decanter expose some API to access these logs or does it work only the > other way around (push to respective appenders?) > > Sorry, it's a bit long post, but I am totally confused with these things. > > Regards, > Cooshal. > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-23 Thread Jean-Baptiste Onofré
that these logs are collectively > available via decanter. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Issues installing Decanter

2019-05-23 Thread Jean-Baptiste Onofré
with Elasticsearch, life would be much easier for me, but > there are some constraints right now. > > At the moment, my aim is to gather logs from all the cellar nodes (for which > I am using mbean as a workaround, as cellar-log did not give me enough > information). My current approach is not a good one, although it works. I > was wondering if there a minimal installation of decanter that I can > install, and may be use Rest API to fetch the logs or something like that. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf-4.2.5 - Duplicate MySQL DataSourceFactories

2019-05-22 Thread Jean-Baptiste Onofré
:org.ops4j.pax.jdbc/pax-jdbc-pool-dbcp2/1.3.5 >         start-level="30">mvn:org.ops4j.pax.jdbc/pax-jdbc-mysql/1.3.5 > > But now I am ending up pulling in a bunch of depended bundles. I have no > problem to continue down this path but I am not sure this is the rig

Re: Karaf-4.2.5 - Duplicate MySQL DataSourceFactories

2019-05-21 Thread Jean-Baptiste Onofré
driver.class = com.mysql.jdbc.Driver >  osgi.jdbc.driver.name = mysql >  service.bundleid = 235 >  service.id <http://service.id> = 420 >  service.scope = singleton > *Provided by :  >  OPS4J Pax JDBC MySQL Driver Adapter (235)* > Used by:  >  OPS4J Pax JDBC Config (12) > > > Kind Regards, > > Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Get NPE in FeatureDeploymentListener.bundleChanged()

2019-05-21 Thread Jean-Baptiste Onofré
gt; > Map> requirements = > featuresService.listRequirements(); > requirements.get(ROOT_REGION).removeAll(reqsToRemove); > requirements.get(ROOT_REGION).addAll(reqsToAdd); > ---- > > What other information can we provide to help diagnose this? > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Invoke a command on a node in Karaf Cellar based on NodeID

2019-05-21 Thread Jean-Baptiste Onofré
eads. > > Regards, > Cooshal. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: ClassCastException on same class in Karaf 4.2.2

2019-05-21 Thread Jean-Baptiste Onofré
other clue please. > > Thanks > Sai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: ClassCastException on same class in Karaf 4.2.2

2019-05-20 Thread Jean-Baptiste Onofré
ion ? or any thing ? > > Regards > Sai > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: ClassCastException on same class in Karaf 4.2.2

2019-05-20 Thread Jean-Baptiste Onofré
the classcastException on same class is because if > it was loaded by 2 different class loaders . > > This behavior not seen when we are using old karaf versions like 3.x. or > 4.0.x > > Any help here please. > > Thanks > Sai > > > > -- > Sent from:

Re: AW: Exception starting HttpContext registration java.lang.NullPointerException: null

2019-05-20 Thread Jean-Baptiste Onofré
<https://www.youtube.com/user/TEAMCONde?> | > <http://www.youtube.com/user/TEAMCONde?> instagram > <https://www.instagram.com/team.consulting/> >   > > > > <https://www.team-con.de/> > > Geschäftsführer

Re: Where exactly is cellar log stored?

2019-05-20 Thread Jean-Baptiste Onofré
.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf bump, Spring Framework CNF exception

2019-05-20 Thread Jean-Baptiste Onofré
Spring 5.1.x Web > support > spring-websocket│ 5.1.5.RELEASE_1 │ │ > Uninstalled │ spring-4.2.5 │ Spring 5.1.x > WebSocket support > spring-security │ 5.1.3.RELEASE_1 │ │ > Uninstalled │ spring-4.2.5 │ Spring Security > 5.1.x support > aries-blueprint-spring │ 0.0.0│ │ > Uninstalled │ spring-4.2.5 │ > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf bump, Spring Framework CNF exception

2019-05-20 Thread Jean-Baptiste Onofré
g.version},${spring.version}]">spring-websocket > dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-messaging/${spring.version} > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf bump, Spring Framework CNF exception

2019-05-20 Thread Jean-Baptiste Onofré
By the way, do you have a test case to reproduce it ? Regards JB On 20/05/2019 09:10, Jean-Baptiste Onofré wrote: > Hi Markus, > > Can you send to me feature:list -i output ? > > Do you use regular etc/org.apache.karaf.features.xml ? > > Regards > JB > > On 20

Re: Karaf bump, Spring Framework CNF exception

2019-05-20 Thread Jean-Baptiste Onofré
framework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187) >> ~[?:?] >> at >> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:223) >> ~[?:?] >> at >> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:194) >> ~[?:?] >> at >> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) >> ~[?:?] >> at >> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) >> ~[?:?] >> at >> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133) >> ~[?:?] >> at >> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:619) >> ~[?:?] >> at >> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) >> ~[?:?] >> at >> org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:677) >> ~[?:?] >> at >> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:643) >> ~[?:?] >> at >> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:691) >> ~[?:?] >> at >> org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:557) >> ~[?:?] >> at >> org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:502) >> ~[?:?] >> at >> org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:172) >> ~[?:?] >> at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[?:?] >> at >> org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:670) >> ~[?:?] >> ... 34 more >> === >> >> "Caused by: java.lang.ClassNotFoundException: >> org.springframework.beans.factory.xml.NamespaceHandlerSupport not >> found by org.apache.servicemix.bundles.spring-websocket [129]" >> >> I checked "bundle:headers >> org.apache.servicemix.bundles.spring-websocket" and the package import >> section contains >> === >> org.springframework.beans.factory.xml;resolution:=optional;version="[5.1.5.RELEASE,5.2)", >> === >> >> The line is "not red", so it should be wired correctly. >> >> The UI bundle that is using the Spring Framework also contains that line: >> === >> org.springframework.beans.factory.xml;version="[5.0,6)", >> === >> for its package imports. >> >> I will try to further inspect this error, but perhaps someone already >> knows what needs to be done... >> >> Best regards, >> Markus -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf bump, Spring Framework CNF exception

2019-05-20 Thread Jean-Baptiste Onofré
springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:643) > ~[?:?] > at > org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:691) > ~[?:?] > at > org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:557) > ~[?:?] > at > org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:502) > ~[?:?] > at > org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:172) > ~[?:?] > at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[?:?] > at > org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:670) > ~[?:?] > ... 34 more > === > > "Caused by: java.lang.ClassNotFoundException: > org.springframework.beans.factory.xml.NamespaceHandlerSupport not > found by org.apache.servicemix.bundles.spring-websocket [129]" > > I checked "bundle:headers > org.apache.servicemix.bundles.spring-websocket" and the package import > section contains > === > org.springframework.beans.factory.xml;resolution:=optional;version="[5.1.5.RELEASE,5.2)", > === > > The line is "not red", so it should be wired correctly. > > The UI bundle that is using the Spring Framework also contains that line: > === > org.springframework.beans.factory.xml;version="[5.0,6)", > === > for its package imports. > > I will try to further inspect this error, but perhaps someone already > knows what needs to be done... > > Best regards, > Markus > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: What does "Managing Bundle" mean?

2019-05-19 Thread Jean-Baptiste Onofré
led for real.  I > think the only thing I don't understand is why only that particular > bundle might need refreshed.  Every other time I simulate a feature > install, it seems to know which bundles need refreshed. > > Ryan > > On Sun, May 19, 2019, 1:34 AM Jean-Baptiste

Re: What does "Managing Bundle" mean?

2019-05-18 Thread Jean-Baptiste Onofré
of the results: > >   Managing bundle: >     org.apache.commons.codec/1.10.0 > > I've never seen that before, what does "Managing Bundle" mean? > > Thanks, > Ryan -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Two versions of jetty

2019-05-18 Thread Jean-Baptiste Onofré
e for ... hmm > > > > 6) Therefore How to avoid bad surprises (is that english?) in the > future ? > > I wan't to have a stable feature and repo list. Is it possible to > disable 'automatic update' of the repo-list and/or set a static list of >

Re: Two versions of jetty

2019-05-17 Thread Jean-Baptiste Onofré
SNAPSHOT > > feature:repo-add > mvn:de.mhus.cherry.reactive/reactive-feature/${REACTIVE_VERSION}/xml/features > feature:install openjpa3 cherry-reactive-dev cherry-reactive-all > > Defined here > https://github.com/mhus/cherry-reactive/tree/master/reactive-docker/reactive-pla

<    3   4   5   6   7   8   9   10   11   12   >