Re: Building custom Karaf distribution with Karaf 4.4.4 not working

2023-09-18 Thread Mark Derricutt
Switching to 4.4.4 on our custom builds went smooth as. Except for my Java 20 branch which died with no longer having javax.activation - tho I suspect that’s more a JDK 20 / ME issue than anything in Karaf. Mark -- "Great artists are extremely selfish and arrogant things" — Steven Wilson,

JDK 20 and Karaf

2023-03-21 Thread Mark Derricutt
e can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.chaliceofblood.net http://www.theoryinpractice.net http://twitter.com/talios http://facebook.com/mderricutt signature.asc Descriptio

Re: Prometheus Metrics Exporting

2022-12-02 Thread Mark Derricutt
On 2/12/2022 at 8:43:41 PM, fpapon wrote: > -javaagent:./jmx_prometheus_javaagent-0.17.2.jar=4:config.yaml > This may be all I need for now - I had seen that earlier and was meaning to try it out - wasn’t 100% sure if it would play nice with OSGi but I guess so. I guess once I provide

Prometheus Metrics Exporting

2022-12-01 Thread Mark Derricutt
Hey all, Anyone got any pointers for exporting metrics from Karaf to Prometheus? I have jolokia enabled but would rather not write a custom mapping from that to prometheus. I’m currently experimenting with a bundle wrapping Micrometer but fighting imports/exports at the moment. I do see some

Re: Running karaf with multiple ETC paths

2022-08-27 Thread Mark Derricutt
That worked a charm! Cheers. I wonder if we should update https://karaf.apache.org/manual/latest/provisioning with some mention of this in the configuration file section, or maybe somewhere under "5.7.4. Instances and distributions goals” where it talks about the immutable static mode. Or

Re: Running karaf with multiple ETC paths

2022-08-27 Thread Mark Derricutt
Hrm, I modified config.properties to include ( and previously, custom.properties which config includes) to: felix.fileinstall.dir= ${karaf.etc}, /tmp/etc but nothing from /tmp/etc got loaded/picked up as configuration. I’m running 4.4.1 static mode, which I guess is why “file watching”

Re: Running karaf with multiple ETC paths

2022-08-25 Thread Mark Derricutt
On 25/08/2022 at 7:11:17 PM, Jean-Baptiste Onofré wrote: > Hi Mark, > > Yes, it's possible. You can add a new path in etc/config.properties in > felix.fileinstall.dir. > > Excellent! That looks like a better solution for what I’m after. Cheers JB! -- "Great artists are extremely selfish and

Running karaf with multiple ETC paths

2022-08-25 Thread Mark Derricutt
Hey all, Is it possible to run Karaf with multiple configuration paths? I’m trying to build up a custom karaf distro to build into a docker image, and want to keep all our apps service config separate ( to be injected via a docker volume or something ) whilst maintaining any generated

Re: GraalJS with Karaf 4.3

2021-12-15 Thread Mark Derricutt
There is an extracted/standalone version at: https://github.com/openjdk/nashorn that’s still being worked on, and there is a version available in Maven Central, so maybe that might help you? Mark -- "Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree

Re: Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Mark Derricutt
Woo – I _may_ have spoken too soon – after adding a few more !imports – the bundle activator runs and everything _appears_ to be active with no exceptions. Of course – the next step is getting something to call/respond to an HTTPS endpoint – but progress. From: Johan Edstrom Reply to:

Re: Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Mark Derricutt
So far I’ve been going thru add !sun.util….. etc. to my config and seeing what shows up – but it’s looking pretty much what I expected – A LOT of internal web/network fundamentals ( sun.net.www.http etc. ) all of which I’m guessing are extended/implemented by the OpenJSSE library ( which was a

Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Mark Derricutt
eers, Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.chaliceofblood.net http://www.theoryinpractice.net http://twitter.com/talios

Re: Karaf 4.1.x / httplite incompatibility

2017-04-25 Thread Mark Derricutt
empty Karaf):  Stephen - Did you ever resolve this? I was hit with the same thing updating from 4.0.8 straight to 4.1.1, opted to just migrate to 4.0.9 instead for now. -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http:/

Deploying with .kar files - "feature already installed" on restart

2016-07-17 Thread Mark Derricutt
at doesn't require write access to the installation base, and that can cleanup if removed? Mark -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt signature.asc D

Clojure and OSGi/Karaf

2013-05-13 Thread Mark Derricutt
Is anyone out there in Karaf land currently doing anything with Clojure and OSGi based systems? If so - whats your setup? How are you dealing with services/components? Cheers, Mark

Re: repository use in feature files

2010-10-12 Thread Mark Derricutt
Not the current code base no - but I'll try find some time to write up a sample project. -- Pull me down under... On Wed, Oct 13, 2010 at 8:46 AM, Ade adrian.trena...@googlemail.com wrote: For a total sanity check, is there anyway you can send out a copy of your code that I can build and