Scheduler with JNDI Datasource

2020-04-14 Thread holger_s
Hi, I'm trying to integrate the scheduler feature into karaf. We're using the karaf-maven-plugin to create a distribution packate. The scheduler feature is defined in the pom.xml as bootFeature. This works fine with the RAMJobStore. But if I configure a JDBC datasource via JNDI I run into a

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Mike Hummel
Hi, I did not read the hole tread but I solved a lot of problems with karaf in docker containers already. There is also a small readme and also examples... Container Sources: https://github.com/mhus/mhus-docker/tree/master/apache-karaf/4.2.6_04

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Alex Soto
Agree, and perhaps the "data/cache”, and/or whatever else is needed to run without connecting the internet > On Apr 14, 2020, at 11:22 AM, Steinar Bang wrote: > >> Jean-Baptiste Onofre : > >> What do you think about a small example/tooling addition to simplify this ? > > I think that

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Steinar Bang
> Jean-Baptiste Onofre : > What do you think about a small example/tooling addition to simplify this ? I think that if you can use karaf's feature resolver to populate the system directory, that would be awsome! :-)

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Jean-Baptiste Onofre
What do you think about a small example/tooling addition to simplify this ? By the way, a bit related, I will send updates and details about Karaf DevX by the end of this week. Stay tuned ;) Regards JB > Le 14 avr. 2020 à 14:58, Alex Soto a écrit : > > I am working now on a similar task. I

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Alex Soto
I am working now on a similar task. I have pre-populated the maven repository directory (~/.m2/repository) from the container that made the build (I am using multi-stage images), and set org.ops4j.pax.url.mvn.localRepository=/root/.m2/repository In

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Jean-Baptiste Onofre
Hi, For the startup, you can already populate the system folder (by hand or using mvn deploy:deploy-file or mvn install:install-file). That’s what I’m doing in docker image preparation. Regards JB > Le 13 avr. 2020 à 21:09, Steinar Bang a écrit : > > I have successfully created a docker