Re: Custom Appender

2024-05-30 Thread Matthias Leinweber
e, May 28, 2024 at 12:12 PM Matthias Leinweber > wrote: > > > > Hi JB, > > > > we were talking about log4j2 Appender not PaxAppender. Anyway I think > there is a bug in the custom distribution maven plugin. Startup features > should not be added to the boot featur

Log Commands

2024-05-28 Thread Matthias Leinweber
Hello Karaf Users, how do you handle the problem when you you have a read only log configuration file: like when mounting it via config maps on kubernetes. Log:display + Log:tail are throwing exceptions because they can not change the file. ( set log level on sshd logger) br, Matthias

Re: Custom Appender

2024-05-28 Thread Matthias Leinweber
lso have a example in Karaf directly: > > https://github.com/apache/karaf/tree/main/examples/karaf-log-appender-example > > Regards > JB > > On Fri, May 17, 2024 at 4:26 PM Matthias Leinweber > wrote: > > > > Hello Karaf Team, > > > > is it possibl

Re: Custom Appender

2024-05-21 Thread Matthias Leinweber
, \ kar/4.5.0.SNAPSHOT On Tue, 21 May 2024 at 18:25, Grzegorz Grzybek wrote: > > > wt., 21 maj 2024 o 15:47 Matthias Leinweber > napisał(a): > >> Hi, >> >> this is at least an explanation for the refresh. But the bootFeatures >> still seem bugg. Should i

Re: Custom Appender

2024-05-21 Thread Matthias Leinweber
gards > Grzegorz > > wt., 21 maj 2024 o 15:25 Matthias Leinweber > napisał(a): > >> Hi, >> >> >> >> compile scopeby default goes to "startup" phase of "profile >> management". >> Ah ok this is working now too.. >> >

Re: Custom Appender

2024-05-21 Thread Matthias Leinweber
ll > the bundles installed (and active if not fragments) the moment Karaf's > FeatureService kicks in... > > regards > Grzegorz Grzybek > > wt., 21 maj 2024 o 13:15 Matthias Leinweber > napisał(a): > >> Hello Grzegorz, >> >> now connecting the dots which

Re: Custom Appender

2024-05-21 Thread Matthias Leinweber
at's what we do in Fuse Karaf. > > But I think the easiest solution for you is to exclude generation of such > import clause by adding `!sun.nio.ch` if you're not really using it in > your fragment. > > regards > Grzegorz Grzybek > > > > wt., 21 maj 2024 o 10:58 Matthias Le

Re: Custom Appender

2024-05-21 Thread Matthias Leinweber
he source code to see if I can change org.osgi.framework.system.packages.extra during execution of the plugin? Or does anyone know a better solution? br, Matthias On Sat, 18 May 2024 at 10:33, Matthias Leinweber wrote: > Thank you for the support. Worked like a charm. > > Grzegorz Grzybek schrieb am Sa., 1

Re: Karaf 4.4.6 and Camel

2024-05-18 Thread Matthias Leinweber
Yes, I missed the spring-legacy feature. Nvm, problem solved On Sat, 18 May 2024 at 18:56, Matthias Leinweber wrote: > Hi Karaf users, > > Did I miss something? Or is there a conflict between karaf and camel? > Karaf 4.4.6 contains sping 6.1 and camel (3.22.2) version Range ends

Karaf 4.4.6 and Camel

2024-05-18 Thread Matthias Leinweber
Hi Karaf users, Did I miss something? Or is there a conflict between karaf and camel? Karaf 4.4.6 contains sping 6.1 and camel (3.22.2) version Range ends with 6. So some important components are not usable e.g. jms? br, Matthias

Re: Custom Appender

2024-05-18 Thread Matthias Leinweber
j2Plugins.dat > > See: > https://github.com/ops4j/org.ops4j.pax.logging/blob/main/pax-logging-samples/fragment-log4j2/pom.xml#L41-L77 > > regards > Grzegorz Grzybek > > pt., 17 maj 2024 o 19:28 Matthias Leinweber > napisał(a): > >> Ok, it doesn't seem so c

Re: Custom Appender

2024-05-17 Thread Matthias Leinweber
; You can find a sample fragment here: > https://github.com/ops4j/org.ops4j.pax.logging/tree/main/pax-logging-samples/fragment-log4j2 > That's all there is ;( > > regards > Grzegorz Grzybek > > pt., 17 maj 2024 o 16:26 Matthias Leinweber > napisał(a): > >> Hello Karaf

Custom Appender

2024-05-17 Thread Matthias Leinweber
Hello Karaf Team, is it possible to directly add a custom log4j2 appender via wrap protocol? I added log4j2.packages = pl.tkowalcz.tjahzi.log4j2 to org.ops4j.pax.logging.cfg but i get ERROR : Unable to locate plugin for Loki I fear that i have to build a fragment bundle for pax logging .. if

Re: Camel kubernetes

2023-10-18 Thread Matthias Leinweber
Do you have an update on this? Am Fr., 6. Okt. 2023 um 16:43 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > I already looked into it, the io.fabric8.kubernetes.client package is > private in the camel-kubernetes bundle i t

Re: Camel kubernetes

2023-10-06 Thread Matthias Leinweber
sue. I will try to > reproduce myself and fix. > > Thanks for the test case, > Regards > JB > > On Fri, Oct 6, 2023 at 3:30 PM Matthias Leinweber > wrote: > > > > Long long time has passed... > > > > > > I just tested came

Re: Camel kubernetes

2023-10-06 Thread Matthias Leinweber
e; xsi:schemaLocation="http://camel.apache.org/schema/blueprint https://camel.apache.org/schema/blueprint/camel-blueprint-3.20.5.xsd;> br, Matthias Am Fr., 11. Aug. 2023 um 13:22 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>:

Re: Camel kubernetes

2023-08-11 Thread Matthias Leinweber
HI Jb, I was sick and on vacation, do you have a link to a running example? Maybe I can see my mistake, directly. br, Matthias Am So., 16. Juli 2023 um 14:30 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > Thanks JB, > > I will setup a test case in vanilla

Re: Camel kubernetes

2023-07-16 Thread Matthias Leinweber
d eventually the test case ? I will reproduce and improve > this. > > Regards > JB > > On Fri, Jul 14, 2023 at 9:20 AM Matthias Leinweber > wrote: > > > > Hello Karaf User, > > > > I tried to get camel-kubernetes component working in blueprint xml, but &

Camel kubernetes

2023-07-14 Thread Matthias Leinweber
Hello Karaf User, I tried to get camel-kubernetes component working in blueprint xml, but unfortunately there are class loader issues with fabric8 kubernetes client (Karaf 4.3.3 camel 3.20.5) Then I tried to get the official client working. And After some real strange behaviour of the gson

Re: Jetty Config

2022-12-13 Thread Matthias Leinweber
s or for example max POST size configuration) > > So without hacks like wrapping felix.webconsole (to provide it with > special wrapping HttpService instance) you simply can't adjust the context > path used by felix.webconsole... > > kind regards > Grzegorz Grzybek > >

Re: Jetty Config

2022-12-13 Thread Matthias Leinweber
eb right ? > You have to set the contextPath in the corresponding section. > > Which Karaf version are you using ? Can you share your full jetty.xml > + org.ops4j.pax.web.cfg files ? > > Thanks, > Regards > JB > > On Mon, Dec 12, 2022 at 5:58 PM Matthias Leinweber >

Jetty Config

2022-12-12 Thread Matthias Leinweber
Hello Karafers, I am convinced that I am not the first person who asks this. But I also wasn't able to find the answer. I try to change the basepath of the default jetty context so that /system/console is prefixed e.g. with bar _> /bar/system/console I thought that i have to add

Re: aries-jax-rs-whiteboard

2022-06-27 Thread Matthias Leinweber
Set = >> Permission.fromList(permissions); >> permissionsSet.add(Permission.AUTHENTICATED); // Implicit >> permission >> return new SubjectDetails(jwtClaims.getSubject(), >> subjectName, permissionsSet); >> } >> c

Re: aries-jax-rs-whiteboard

2022-06-27 Thread Matthias Leinweber
using role base authorization >> return true; >> } >> >> @Override >> public boolean isSecure() { >> >> return secure; >> } >> >> @Override >> public String getAuthenticati

aries-jax-rs-whiteboard

2022-06-22 Thread Matthias Leinweber
Hello Karaf user, i try to get aries-jax-rs-whiteboard in a version > 1.0.6 running without success. 2.0.1 with installed cxf is working fine. But in 1.0.7-1.0.10. http:list does not show a servlet and my jaxrs whiteboard resources are not working. Any hints which component needs to be

Logback Support

2022-03-23 Thread Matthias Leinweber
Hello karafers, i try to get logback working, and also log:display but LogServiceImpl does not seem to support logback, right? br Matthias

Opentelemetry

2022-03-15 Thread Matthias Leinweber
Hello Karaf User, I also posted on the camel mailing list, but after some debugging I think it could be a karaf issue. I try to get opentelemetry working to send camel traces to tempo. Sending spans does work but parent spans are not working. It seems that when I use the instrumentation agent,

Re: Camel Rest JAAS

2021-12-12 Thread Matthias Leinweber
; -Matt Pavlovich > > On Nov 9, 2021, at 12:02 PM, Matthias Leinweber < > m.leinwe...@datatactics.de> wrote: > > Hello, > > I asked something similiar a while ago. I am looking for a working example > how to inject the Karaf JAAS Service into a Camel Jetty Rest compone

Camel Rest JAAS

2021-11-09 Thread Matthias Leinweber
Hello, I asked something similiar a while ago. I am looking for a working example how to inject the Karaf JAAS Service into a Camel Jetty Rest component for Basic auth. However i would take any production ready example with a working authorized rest component even without jaas. BR, Matthias

Re: PreGenerate data folder

2021-10-03 Thread Matthias Leinweber
> I guess you want the same for dynamic distribution. > The karaf-maven-plugin can prepare it at build time for you (including > resolution). > > Regards > JB > > On 01/10/2021 19:17, Matthias Leinweber wrote: > > Hello .. again :) > > > > is there

PreGenerate data folder

2021-10-01 Thread Matthias Leinweber
Hello .. again :) is there a possibility to create the data folder with content during the assembly step and not the first startup? A workaround would be starting the application -> stoping -> save container -> publish this image... but somehow not ideal The reason is that karaf writes a lot of

Re: Possible to replace Classloader of a Bundle

2021-09-30 Thread Matthias Leinweber
/main/boot/src/main/java/org/apache/karaf/boot/service/ClassLoaderService.java > (WIP) > > Regards > JB > > On 29/09/2021 14:42, Matthias Leinweber wrote: > > Hello, > > > > Is it possible to replace the bundle classloader with another? The idea > > behin

Possible to replace Classloader of a Bundle

2021-09-29 Thread Matthias Leinweber
Hello, Is it possible to replace the bundle classloader with another? The idea behind this is that you have a groovy class loader which uses the bundle class loader as a parent. Then after the initialization of the groovy class loader this class loader loads additional classes during runtime.

Re: FileInstaller with 4.3.3

2021-09-28 Thread Matthias Leinweber
act liesternes (also after blueprint listener is added) Best regards, Matthias Am Mo., 27. Sept. 2021 um 17:55 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > Sure ..shared desktop or github project (depends on 2 other github > projects not in maven central yet) &

Re: FileInstaller with 4.3.3

2021-09-27 Thread Matthias Leinweber
eck your distro ? > > Regards > JB > > On 27/09/2021 16:49, Matthias Leinweber wrote: > > I tested it with the downloaded karaf binary distribution and it works. > > With a custom distribution there seems to be a problem. I tested with my > > own as well as with

Re: FileInstaller with 4.3.3

2021-09-27 Thread Matthias Leinweber
:04 Uhr schrieb Jean-Baptiste Onofré < j...@nanthrax.net>: > Thanks Matthias, > > I have basically similar, let me try on a fresh install. > > Regards > JB > > On 27/09/2021 15:00, Matthias Leinweber wrote: > > Hello JB, > > > > Linux 5.13.19-2-MANJAR

Re: FileInstaller with 4.3.3

2021-09-27 Thread Matthias Leinweber
> it's deploying from there. > > Regards > JB > > On 27/09/2021 14:38, Matthias Leinweber wrote: > > I also tried to add a config file (org.apache.felix.fileinstall-foo.cfg) > > into the etc folder before first startup, But also no success. > > > > Br, > &

Re: FileInstaller with 4.3.3

2021-09-27 Thread Matthias Leinweber
leinstall is installed by > startup.properties, and you provide the config via features core which > come later in the bootstrap. > > Let me try a startup like this and get back to you. > I keep you posted. > > Regards > JB > > On 24/09/2021 09:27, Matthias Leinweber wrote:

Re: FileInstaller with 4.3.3

2021-09-24 Thread Matthias Leinweber
t;> *Subject:* Re: FileInstaller with 4.3.3 > >> WARNING: This email originated outside of NantHealth. > >> DO NOT CLICK links or attachments unless you recognize the sender and > >> are expecting this email. > >> > >> >

Re: FileInstaller with 4.3.3

2021-09-21 Thread Matthias Leinweber
gt;> 3. I can see the config loaded: > >>>> > >>>> karaf@root()> config:list "(service.pid=my.config)" > >>>> > >>>> > >>>> > >>>> > >>>> --

Re: FileInstaller with 4.3.3

2021-09-17 Thread Matthias Leinweber
t;> > >> With 4.3.2 and standard deploy folder, at startup, any files in deploy > folder were processed. > >> > >> With 4.3.3 files in deploy folder are ignored. > >> > >> Paul Fraser > >> > >>>> On 16/9/21 10:31 pm, Matthias Lei

Re: FileInstaller with 4.3.3

2021-09-16 Thread Matthias Leinweber
Hello JB, yes... mvn\:org.apache.felix/org.apache.felix.fileinstall/3.7.0 = 12

FileInstaller with 4.3.3

2021-09-16 Thread Matthias Leinweber
Hello, I am having a strange issue after I updated my assembly to 4.3.3. I am using a custom file installer location which I deploy with a feature. The strange thing is that the folder is not processed automatically at startup, but if I touch a single file in the folder all others files get

Re: Camel karaf

2021-07-13 Thread Matthias Leinweber
no one? Am Sa., 3. Juli 2021 um 22:42 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > > Hello, > > i have two questions where the documentation is not clear or an example is > missing. (I think) > > 1) Camel itself supports Clustering (all Examples are

Re: Camel routeTemplate

2021-07-08 Thread Matthias Leinweber
code where blueprintContainer.reload(); is called. What do you think? BR Matthias Am Mi., 7. Juli 2021 um 12:54 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > Hello Jb, > > i wasn't looking for the basic stuff... I tried this: > And yes i configured cm:property-paceho

Re: Camel routeTemplate

2021-07-07 Thread Matthias Leinweber
; j...@nanthrax.net>: > Hi Mathias, > > Is it what you are looking for: > https://github.com/apache/karaf/tree/main/examples/karaf-camel-example/karaf-camel-example-blueprint > ? > > Regards > JB > > Le 6 juil. 2021 à 21:57, Matthias Leinweber > a écr

Camel routeTemplate

2021-07-06 Thread Matthias Leinweber
Hello, i am trying to use routeTemplates within karaf with DSL but i don't find any examples how to create routes with XML DSL. Also https://camel.apache.org/manual/latest/route-template.html#_creating_routes_from_properties_file seems not wo work in karaf. Any suggestions? br, Matthias

Camel karaf

2021-07-03 Thread Matthias Leinweber
Hello, i have two questions where the documentation is not clear or an example is missing. (I think) 1) Camel itself supports Clustering (all Examples are with NON DSL spring boot) I am wondering if its possible to use Clustering-Support within Kubernetes and how this works with XML DSL in

Re: Build Issue

2021-03-08 Thread Matthias Leinweber
using 4.2.9 builds without problems 4.3.0 fails Am Mo., 8. März 2021 um 09:37 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > It becomes more and more strange. I tried to simply build the example > configuration from karaf-examples without the example application a

Re: Build Issue

2021-03-08 Thread Matthias Leinweber
against the artifactory without any internet connection. Do you have any ideas? We thought if it is maybe something with the container overlay file system? or persistentvolume? br, Matthias Am Do., 4. März 2021 um 11:39 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: >

Re: Build Issue

2021-03-04 Thread Matthias Leinweber
t seems to be related to startup/boot features you defined (not really > environment). > > Regards > JB > > Le 3 mars 2021 à 18:22, Matthias Leinweber a > écrit : > > Hello Karafers, > > i have a very strange build issue with assembly plugin. > I can build my packag

Build Issue

2021-03-03 Thread Matthias Leinweber
Hello Karafers, i have a very strange build issue with assembly plugin. I can build my package on my machine, on my machine inside a container using podman as well as submitting my dockerfile to a kaniko builder. A colleague of mine can also build it on his machine. With our internal artifactory

Camel Jetty JAAS

2020-12-17 Thread Matthias Leinweber
Hello Karafers, i am searching for a working example how to inject the Jaas Security Context into Camel Rest DSL Component(preferable jetty; not servlet) as a Securityhandler using blueprint.xml Can any one help? Best regards, Matthias

Re: Programatically (Camel) Blueprint

2020-06-15 Thread Matthias Leinweber
., 4. Juni 2020 um 15:49 Uhr schrieb Jean-Baptiste Onofre < j...@nanthrax.net>: > You can do kind of your own RouteBuilder. > > Le 4 juin 2020 à 15:15, Matthias Leinweber a > écrit : > > Somehow dirty, but easy. Maybe the best solution. :) > > Am Do., 4. Juni

Re: Programatically (Camel) Blueprint

2020-06-04 Thread Matthias Leinweber
> > Le 4 juin 2020 à 14:54, Matthias Leinweber a > écrit : > > Thank you for your quick reply JB, > > Yeah my plan was a bit more generic. Which service or class would be a > good starting point for "bootstrapping". BlueprintContainerImpl is not so > easy to

Re: Programatically (Camel) Blueprint

2020-06-04 Thread Matthias Leinweber
gt; > Regards > JB > > > Le 4 juin 2020 à 14:06, Matthias Leinweber > a écrit : > > > > Hello People, > > > > actually I try to programmatically deploy a (Camel) Blueprint. E.g. > Create something with a String. After reading source of aries, camel and &g

Programatically (Camel) Blueprint

2020-06-04 Thread Matthias Leinweber
Hello People, actually I try to programmatically deploy a (Camel) Blueprint. E.g. Create something with a String. After reading source of aries, camel and felix.fileinstall my only idea is to dynamically create bundles the way felix file install is handling this problem. Is there anything

Re: Camel auto downloader?

2020-05-25 Thread Matthias Leinweber
That's something i am quite familiar with. My questions were quite specific. But thank you very much. Maurice Betzel schrieb am Mo., 25. Mai 2020, 20:42: > Forgot this one for assembly: > > > https://github.com/apache/karaf/tree/master/examples/karaf-maven-example/karaf-maven-example-assembly

Camel auto downloader?

2020-05-24 Thread Matthias Leinweber
Hello Karafers, i am currently digging into Karaf camel. Finding documentation is not that easy because it involves so many products. And i have some gereall questions, maybe you can help. Is there a bundle which automatically installs the feature which contain the camel components needed in the

Re: Logback Logstash Encoder

2020-01-31 Thread Matthias Leinweber
I found it: mvn:org.apache.karaf.features/standard/[4,5)/xml/features in aries-jax-rs features. But somehow the blacklist did not work for me. kr, Matthias Am Fr., 31. Jan. 2020 um 11:29 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > Thats the thing I am wondering

Re: Logback Logstash Encoder

2020-01-31 Thread Matthias Leinweber
etc/org.apache.karaf.features.xml we > blacklisted the 4.3.0-SNAPSHOT repo. > We should add also 4.3.0.RC1 ones as well. > > I will do that, in meantime, you can do it in your custom distro as well. > > Regards > JB > > On 31/01/2020 10:53, Matthias Leinweber wrote: >

Re: Logback Logstash Encoder

2020-01-31 Thread Matthias Leinweber
net>: > And again, sorry to be pushy, but largely easier with Decanter ;) > > Ask to your enroute colleague lol ;) > > Regards > JB > > On 30/01/2020 19:34, Matthias Leinweber wrote: > > ... basically json output could be sufficient, so I switched back to > > log4

Re: Logback Logstash Encoder

2020-01-30 Thread Matthias Leinweber
. it seems to be exportet: karaf@root()> classes 7 |grep FilterProvider com/fasterxml/jackson/databind/ser/FilterProvider.class | exported: true What am I doing wrong? Regards, Matthias Am Do., 30. Jan. 2020 um 10:21 Uhr schrieb Matthias Leinweber < m.leinwe...@datatactics.de>: > Thank you

Re: Logback Logstash Encoder

2020-01-30 Thread Matthias Leinweber
directly. > > And for you collegue (ok, I'm angry now ;) ), you can say that some > enroute users use karaf as runtime, for good reason, and we have new > tooling coming ;) > > Regards > JB > > On 29/01/2020 21:50, Matthias Leinweber wrote: > > My karaf based soluti

Re: Logback Logstash Encoder

2020-01-29 Thread Matthias Leinweber
, Matthias Am Mi., 29. Jan. 2020 um 18:43 Uhr schrieb Jean-Baptiste Onofré < j...@nanthrax.net>: > Hi, > > Why not using Decanter to achieve this ? > > Decanter is better integrated to Karaf and provide similar features. > > Regards > JB > > On 29/01/2020 16:09,

Logback Logstash Encoder

2020-01-29 Thread Matthias Leinweber
Hello Karaf-Team I searched for a while on the mailing list archive,jira and web, but I couldn't find an answer. My task is a custom distro with logback + logstash encoder. I found the configuration property framework-logback (is this documented?) and logback is working. However, i cant add the

Re: java.mail inside Karaf

2020-01-28 Thread Matthias Leinweber
(com.sun.mail.handlers.text_html.class.getClassLoader()); best regards, Matthias Am Di., 28. Jan. 2020 um 06:15 Uhr schrieb Jean-Baptiste Onofré < j...@nanthrax.net>: > Hi Matthias, > > Yeah, it's what I thought. Let me take a look. > > Regards > JB > > On 27/01/2020 2

Re: java.mail inside Karaf

2020-01-27 Thread Matthias Leinweber
gards > JB > > On 27/01/2020 21:16, Matthias Leinweber wrote: > > > > Hello Karaf Users, > > > > Hello Karaf-Team, > > > > I try to create a Component which is able to send mails. I looked into > > the decanter email component and basically used it

java.mail inside Karaf

2020-01-27 Thread Matthias Leinweber
Hello Karaf Users, Hello Karaf-Team, I try to create a Component which is able to send mails. I looked into the decanter email component and basically used it and modified it for multi part. The strange this is, that somehow the client can't read a response. I have no idea what i could do... i

Re: Persistence.xml

2020-01-14 Thread Matthias Leinweber
correct DataSource and dialect. > > I hope this helps, > > Tim > > On 14 Jan 2020, at 12:54, Matthias Leinweber > wrote: > > Hello Karafers, > > I am searching for a way to modify a persistance.xml during bundle > installation/configuration to select the dialect f

Persistence.xml

2020-01-14 Thread Matthias Leinweber
Hello Karafers, I am searching for a way to modify a persistance.xml during bundle installation/configuration to select the dialect for the eclipselink/hibernate mapper. What is the best way to make this configurable? best regards

Re: Aries jax-rs whiteboard

2019-11-19 Thread Matthias Leinweber
integration projects, > which are built separately from the whiteboard because they evolve at > different speeds. > > https://builds.apache.org/job/Aries-JAX-RS-Whiteboard-Integrations/ > > I see releases 1.0.0 to 1.0.2 in Maven Central, all of them with source > jars. &g

Re: Aries jax-rs whiteboard

2019-11-17 Thread Matthias Leinweber
#service.jaxrs.common.properties> >> property >>which will need to match service properties on your whiteboard extension >>2. Your external MessageBodyReader and MessageBodyWriter will need to >>be registered with >> 1. The service has the property osg

Re: Aries jax-rs whiteboard

2019-11-15 Thread Matthias Leinweber
ONTEXT_TIME_ZONE*, *false*); > > > jsonProvider = *new* JacksonJsonProvider(objectMapper); > > > *logger*.info(“MyApplication.activate(): jsonProvider = " + jsonProvider); > } > > > @Override > *public* Set getSingletons() { > > Set singletons =

Re: Aries jax-rs whiteboard

2019-11-15 Thread Matthias Leinweber
extension as a part of your whiteboard > application. This way you avoid the need to set quite so many service > properties because the application is “complete” and doesn’t need to > register a dependency or be targeted by an extension. > > All the best, > > Tim > > On 15 Nov

Re: Aries jax-rs whiteboard

2019-11-14 Thread Matthias Leinweber
equest) and get two http calls at the same time. > > Tim > > On 7 Nov 2019, at 16:24, Matthias Leinweber > wrote: > > Great. Thank you very much. > > I dont want to add CXF or Jersey. thank to your answer I have come up with > the idea myself to inject the @Context

Feature installer

2019-11-13 Thread Matthias Leinweber
Hello Team, I encountered a strange behaviour while installing/using Groovy inside karaf. Depending on the installation order of the bundles a osgi.wiring.package is missing. groovy.xml and groovy.util are not "there" if i install groovy-xml after groovy. To reproduce the problem: karaf@root()>

Re: Aries jax-rs whiteboard

2019-11-07 Thread Matthias Leinweber
is because applications within the > whiteboard *are* isolated from each other, and can have different sets of > resources and extensions. > > In general, however, you’re pretty safe just registering all the resources > and extensions that you need directly with the whiteboard using the

Re: Aries jax-rs whiteboard

2019-11-07 Thread Matthias Leinweber
top of one or more of the >available Http Whiteboards)? >- Do you want to publish JAX-RS resource services, application >services, or a mixture of the two? >- Do you want the JAX-RS services that you publish to appear on all >whiteboards, or just a subset? > >

Groovy Bundle Exported Packages

2019-11-06 Thread Matthias Leinweber
Hello Team, I encountered a strange behaviour while installing/using Groovy inside karaf. Depending on the installation order of the bundles a osgi.wiring.package is missing. osgi.wiring.package; groovy.xml and osgi.wiring.package; groovy.util are not "there" if i install groovy-xml after groovy.

Re: Aries jax-rs whiteboard

2019-11-06 Thread Matthias Leinweber
ple > > It contains different approaches, including whiteboard. > > Can you describe a bit what you are looking for ? We can then create the > Jira at Karaf/Aries to improve example/documentation. > > Regards > JB > > On 06/11/2019 17:56, Matthias Leinweber wro

Aries jax-rs whiteboard

2019-11-06 Thread Matthias Leinweber
Hello Karaf Team, I know that this not the 100% correct mailing list for aries jax-rs. However my question is what do you plan for further releases of Karaf? I try to use the aries implementation but I struggle with the configuration. Beside the incomplete documentation and the "very special" DSL

AW: Service Sisibility

2019-05-15 Thread Matthias Leinweber
change too. For example: service.target=(foo=bar) Inject me with a MyInterfaceB which has the service property foo equal to bar. All the best, Tim On 15 May 2019, at 14:35, Matthias Leinweber mailto:matthias.leinwe...@ida-analytics.de>> wrote: Hello Karaf Experts, i am trying to isola

AW: AW: AW: AW: AW: ComponentFactory

2019-03-28 Thread Matthias Leinweber
e a multivalued reference of type MyInterface. What do you need that this doesn’t provide? Thanks David Jencks Sent from my iPhone On Mar 26, 2019, at 1:21 AM, Matthias Leinweber mailto:matthias.leinwe...@ida-analytics.de>> wrote: Hi JB, yes but until i created one there is nothing t

AW: AW: AW: AW: ComponentFactory

2019-03-26 Thread Matthias Leinweber
D: com.foo.bar. (in config:list). So you can find "your" configurations based on your factoryPid. You can list all configuration for a given factoryPid: config:list "(factoryPid=com.foo.bar)" Regards JB On 25/03/2019 20:01, Matthias Leinweber wrote: > ... i can it

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
... i can iterate over "my" servicefactories. ____ From: Matthias Leinweber Sent: Monday, March 25, 2019 8:00:25 PM To: user@karaf.apache.org Subject: Re: AW: AW: AW: ComponentFactory Mhm OK. I will try to explain what i want to achieve. My Plan was

Re: AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
@karaf.apache.org Subject: Re: AW: AW: AW: ComponentFactory Not sure I follow you. What's the issue ? You have the factory and the configurations for the factory. Regards JB On 25/03/2019 18:54, Matthias Leinweber wrote: > Yes, > > > but i see &q

AW: AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
I can see the factory for fileinstall: Pid: org.apache.felix.fileinstall.d10ae13a-7909-4881-8014-d0901748a832 FactoryPid: org.apache.felix.fileinstall BundleLocation: ? Regards JB On 25/03/2019 18:30, Matthias Leinw

AW: AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
raf.apache.org Betreff: Re: AW: ComponentFactory Hi Matthias, as always, happy to help ;) config:list command/service is able to list the configuration (including the factories). Regards JB On 25/03/2019 16:07, Matthias Leinweber wrote: > Thank you very much. > > Thanks for the explanation, Ti

AW: ComponentFactory

2019-03-25 Thread Matthias Leinweber
istener.java > > Is it what you are looking for ? > > Regards > JB > > On 25/03/2019 15:32, Matthias Leinweber wrote: >> Hello Karaf Team, >> >> >> i don't know if it is the correct mailing list, because its just >> possibly related to karaf specific

ComponentFactory

2019-03-25 Thread Matthias Leinweber
service instance. Did i understand something wrong an do i have to use ManagedServiceFactories? regards, Matthias Matthias Leinweber Managing Director & Chief Analytics Officer  [1491765456561_darkwtext.resized.png] Intelligent Data Analytics GmbH & Co. KG c/o TechQuartier P

AW: Aether SNAPSHOT Update

2019-03-22 Thread Matthias Leinweber
from your .m2/repository ? Anyway, by default, Karaf systematically checks your .m2/repository for new SNAPSHOT (it's what we use in the bundle watcher for instance). Do you have globalUpdatePolicy and globalChecksumPolicy defined ? Regards JB On 22/03/2019 10:05, Matthias Leinweber wrote: > He

Aether SNAPSHOT Update

2019-03-22 Thread Matthias Leinweber
Hello Karaf Team, i have the following situation: I am building a karaf assambly (4.2.4) (during development .. snapshot versions) and i can not update bundles from my local m2 repo. If i completely disable org.ops4j.pax.url.mvn.defaultRepositories (everything should be installed from my local