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é
om/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é
bconsole.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é wro

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

2019-06-21 Thread Jean-Baptiste Onofré
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...@nanthrax.net>

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

2019-06-21 Thread Jean-Baptiste Onofré
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é
; 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, > > it's what I thought: the cap/

Re: Capabilities and requirements

2019-06-20 Thread Jean-Baptiste Onofré
ss 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 > capability, but it can't at runtime. > > Ryan

Re: Capabilities and requirements

2019-06-20 Thread Jean-Baptiste Onofré
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 appreciate because they are > quite good and I know docs are time consuming and a pain to w

Re: Capabilities and requirements

2019-06-19 Thread Jean-Baptiste Onofré
; 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), but > you can take a look

Re: Authentication in a custom web application in karaf

2019-06-18 Thread Jean-Baptiste Onofré
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é
e.  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é
nstall 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é
n 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é
i.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é
e 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é
t; > 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é
ax 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é
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

Re: feature for jetty proxy

2019-06-10 Thread Jean-Baptiste Onofré
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é
o 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 Markus, >> >> I'm suggest

Re: feature for jetty proxy

2019-06-10 Thread Jean-Baptiste Onofré
quot;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é
; 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 install the marshaller?  &

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 add log

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

2019-06-08 Thread Jean-Baptiste Onofré
> 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é
araf 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é
figurationBuilder" 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é
; 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é
omehow 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.lang.Thr

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

2019-06-05 Thread Jean-Baptiste Onofré
f 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é
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é
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é
e 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-02 Thread Jean-Baptiste Onofré
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: >>

Re: Staged Boot Question

2019-06-01 Thread Jean-Baptiste Onofré
r is 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 mode

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-06-01 Thread Jean-Baptiste Onofré
> "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é
t 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.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java

Re: Karaf-4.2.5 - Duplicate MySQL DataSourceFactories

2019-05-27 Thread Jean-Baptiste Onofré
e 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: 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-26 Thread Jean-Baptiste Onofré
t; 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 that's all you ne

Re: Problem with SpiFly serviceloader

2019-05-25 Thread Jean-Baptiste Onofré
sgi.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é
se 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é
gt; > 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 > > Regards

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é
quot;. 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é
ok 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é
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é
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é
icsearch, 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é
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 right &g

Re: Karaf-4.2.5 - Duplicate MySQL DataSourceFactories

2019-05-21 Thread Jean-Baptiste Onofré
= 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é
- > 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é
e 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: http:

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

2019-05-20 Thread Jean-Baptiste Onofré
lt;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: Kar

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é
b > 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é
,${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é
al.  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 Onofré <ma

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é
> 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 > repositories?  > > So it will not be

Re: Two versions of jetty

2019-05-17 Thread Jean-Baptiste Onofré
t; 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-playground/deploy > > and here >

Re: Where exactly is cellar log stored?

2019-05-17 Thread Jean-Baptiste Onofré
ow can I integrate Decanter to my scenario. > > 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: Cellar Ports, Firewalls and Nat

2019-05-17 Thread Jean-Baptiste Onofré
this be related to port access or is something else suggested by > the problem? > > Also, is there available or contemplated a port forwarding feature for > Karaf? > > Paul Fraser > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Where exactly is cellar log stored?

2019-05-17 Thread Jean-Baptiste Onofré
he > ClusterManager. > > So, now my question is, where exactly is the log stored? Is it In-Memory? > > 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: Enforce specific bundle?!

2019-05-16 Thread Jean-Baptiste Onofré
in? If so is it enough to add jaxb-api as dependency? > > kind regards > christian > >> Am 17.05.2019 um 05:54 schrieb Jean-Baptiste Onofré : >> >> Hi Christian, >> >> Maybe you can upgrade jaxb directly provided by Karaf ? >> >> Regards >> JB >

Re: Karaf pax-logging-log4j2 bundle gets restarted - how to avoid?

2019-05-16 Thread Jean-Baptiste Onofré
it. > > Ryan > > > > -- > 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: Enforce specific bundle?!

2019-05-16 Thread Jean-Baptiste Onofré
xb-api within feature.xml -> > same problem > > kind regards > christian > > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Two versions of jetty

2019-05-16 Thread Jean-Baptiste Onofré
at > org.eclipse.jetty.websocket.server.WebSocketServerFactory.(WebSocketServerFactory.java:161) > at > org.eclipse.jetty.websocket.server.WebSocketServerFactory.(WebSocketServerFactory.java:135) > at > org.eclipse.jetty.websocket.server.WebSocketServerFactory.(WebSocketServerFactory.java:114) > > &g

Re: Rotating karaf.log?

2019-05-16 Thread Jean-Baptiste Onofré
OS? > > Thanks! > > > - Steinar > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf, Pax Web, Jetty: "some" client authentication

2019-05-16 Thread Jean-Baptiste Onofré
I further assume it should work by a filter or in the servlet itself. > > Are there better ways to handle two servlet > * Servlet1 needs client authentication > * Servlet2 do not use client authentication > > How can I trigger the check of the client certificate correctly in the > servlet / filter to check against a specific truststore? > > I am interested in your inputs. > > Best regards, > Markus > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Is it possible to start karaf, execute commands and exit (from script)?

2019-05-16 Thread Jean-Baptiste Onofré
nerate a custom karaf distribution with my desired config > values with minimal manual intervention. > > 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: Is it possible to start karaf, execute commands and exit (from script)?

2019-05-16 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: Is it possible to start karaf, execute commands and exit (from script)?

2019-05-16 Thread Jean-Baptiste Onofré
ave a > ready-to-run karaf instance. > > I am confused about the tasks that I have marked in (*). Any tips on this > would be helpful. > > 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: AW: Service Sisibility

2019-05-15 Thread Jean-Baptiste Onofré
uce” is knowing that you can set the target filter using > configuration, not just statically in the @Reference annotation. Static > filters can be useful, but configurable filters are indistinguishable from > magic  > > Tim > > Sent from my iPhone > >> On 15 May 201

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