Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Erwin Hogeweg
All - Is anyone aware of changes in the DB pool configuration parameters in 4.2.1? I can’t find any documentation re. that. The error I received in 4.2.0 is gone, but I can’t figure out how to configure the pool. I tried all possible combination of pool. factory. and property but none seem to

Re: Help migrating jclouds/Karaf integration to Java 8

2018-09-10 Thread Jean-Baptiste Onofré
Hi Ignasi, sorry, I didn't have time to push the branch during the week end. I will do it later tonight or tomorrow. I will let you know. Regards JB On 07/09/2018 11:05, Ignasi Barrera wrote: > Thanks JB! > On Fri, 7 Sep 2018 at 05:31, Jean-Baptiste Onofré wrote: >> >> Hi, >> >> yes I moved

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Erwin Hogeweg
> On Sep 10, 2018, at 09:33, Jean-Baptiste Onofré wrote: > > What's the output of bundle:services -p 86 ? karaf@root()> bundle:services -p 86

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Jean-Baptiste Onofré
What's the output of bundle:services -p 86 ? All pool properties are not as service properties, they are only config properties. Regards JB On 10/09/2018 15:23, Erwin Hogeweg wrote: > Thanks JB, > >> The pool uses "pool." prefix in the config. >> >> So pool.maxTotal is a valid configuration in

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Erwin Hogeweg
Thanks JB, > The pool uses "pool." prefix in the config. > > So pool.maxTotal is a valid configuration in DBCP, pool.dummy is another one. That is what I thought, but those properties don’t show up in the PooledDataSourceFactory (see below). Is that expected? Thanks, Erwin >>

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Jean-Baptiste Onofré
Hi, The pool uses "pool." prefix in the config. So pool.maxTotal is a valid configuration in DBCP, pool.dummy is another one. You can use any DBCP configuration as soon as you prefix with "pool.": maxIdle maxTotal maxWaitMillis testOnBorrow validationQuery validationQueryTimeout Regards JB

Unsubscribe from user list (user@karaf.apache.org)

2018-09-10 Thread Marco
Hi, sorry but how can I remove me from that userlist? Cheers, Marco

Re: Unsubscribe from user list (user@karaf.apache.org)

2018-09-10 Thread Jean-Baptiste Onofré
Just send an e-mail to user-unsuscr...@karaf.apache.org I hope it's because you want to subscribe to dev ;) Regards JB On 10/09/2018 14:38, Marco wrote: > Hi, > >   > > sorry but how can I remove me from that userlist? > >   > > Cheers, > > Marco > -- Jean-Baptiste Onofré

Re: Karaf 4.2.1: cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor

2018-09-10 Thread Jean-Baptiste Onofré
Do you use JAXB from the JDK on JAXB bundle ? Regards JB On 10/09/2018 16:26, Lukasz Lech wrote: > Hello, > >   > > After finding out that Karaf 4.2.1 includes Eclipselink version with > PostgreSQL Bug Fix > (https://bugs.eclipse.org/bugs/show_bug.cgi?id=522408) I’ve tested it > with my code.

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Jean-Baptiste Onofré
Hi Erwin, there a "config" properties of the PooledDataSourceFactory (acting as a ManagedService), not "service" properties. I think that where you confusion comes from. Regards JB On 10/09/2018 16:12, Erwin Hogeweg wrote: > JB and François, > > Thanks, I am familiar with the PaxJDBC wiki. I

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Jean-Baptiste Onofré
It looks good to me as you should have a configuration with the pool configuration right (ManagedServiceFactory) ? Regards JB On 10/09/2018 15:37, Erwin Hogeweg wrote: > > >> On Sep 10, 2018, at 09:33, Jean-Baptiste Onofré > > wrote: >> >> What's the output of

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Erwin Hogeweg
JB and François, Thanks, I am familiar with the PaxJDBC wiki. I guess I expected to see those pool properties in the PooledDataSourceFactory. I DO see multiple DB connections, so I assume everything is working as expected. Thanks for the clarification. Erwin > On Sep 10, 2018, at 10:02,

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Francois Papon
Hi, There is some examples on the PaxJDBC wiki where they mentioned a "jdbc.pool" prefix : https://ops4j1.jira.com/wiki/spaces/PAXJDBC/pages/119078914/Pooling+and+XA+support+in+1.0.0 regards, François Papon fpa...@apache.org Le 10/09/2018 à 17:46, Jean-Baptiste Onofré a écrit : > It looks

Re: Karaf 4.2.1: cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor

2018-09-10 Thread lechlukasz
I'm using Oracle JDK 8 (Windows). Those the imports that I make in one bundle which has this issue: org.apache.commons.csv,version=1.5.0 from org.apache.commons.csv (197) org.apache.commons.io,version=1.4. from org.apache.commons.io (201) org.apache.commons.io,version=2.4.0 from

Karaf 4.2.1: cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor

2018-09-10 Thread Lukasz Lech
Hello, After finding out that Karaf 4.2.1 includes Eclipselink version with PostgreSQL Bug Fix (https://bugs.eclipse.org/bugs/show_bug.cgi?id=522408) I've tested it with my code. But another library has backfired, and I feel helpless about finding out what is going on. I'm using JAXB to

Re: Karaf-4.2.1 - Has DB connection pool configuration for pax-jdbc-config changed?

2018-09-10 Thread Erwin Hogeweg
Yup, I think you are right. Thanks, Eewin > On Sep 10, 2018, at 10:54, Jean-Baptiste Onofré wrote: > > Hi Erwin, > > there a "config" properties of the PooledDataSourceFactory (acting as a > ManagedService), not "service" properties. I think that where you > confusion comes from. > >

Re: Help migrating jclouds/Karaf integration to Java 8

2018-09-10 Thread Ignasi Barrera
NP. Thanks for your help! On Mon, 10 Sep 2018 at 14:28, Jean-Baptiste Onofré wrote: > > Hi Ignasi, > > sorry, I didn't have time to push the branch during the week end. I will > do it later tonight or tomorrow. > > I will let you know. > > Regards > JB > > On 07/09/2018 11:05, Ignasi Barrera

Re: OSGi and karaf in the cloud. Looking for some experiences and stories

2018-09-10 Thread lechlukasz
I'm running Karaf in docker image in OpenShift. No cloud yet but cloud-compliant. I've got to trick like hell in order to build docker image. I've created a bundle that installs features using FeatureService (based on config file) and then stops bundle 0, so that all bundles are installed during