Re: pax-jdbc-dbcp2 connection pool properties

2016-05-27 Thread Achim Nierbeck
Hi Pravin, very simple processes here ... create yourself an account, you should have karma to edit the confluence[1] wiki easily (if not come back to me ... we had some automatic rights assignment issues in the past) update the documentation where you think it fits best. If you want to provide pa

Finding DS Component Factories

2016-05-27 Thread Alex Soto
Hello, I am trying to dynamically find DS Component Factories where the factory id is not known at compile time, i.e., I cannot use @Reference annotation to get the factory injected. So I tried looking it up using a ServiceTracker with filter: (objectClass=org.osgi.service.component.Component

Re: Finding DS Component Factories

2016-05-27 Thread jerome
Hi AlexI guess that you should always use the plain old low level API and use getServiceReference from BundleContext classBut you may look for an annotation based method?Regards

Re: Finding DS Component Factories

2016-05-27 Thread David Jencks
Using getServiceReference, a service tracker, or a DS reference shouldn’t make any difference to what you find statically. Are you sure you’ve configured your component to be a factory component? I’d suggest using gogo scr:list and scr:info to find out what is actually running in your framewor

Karaf cache directory

2016-05-27 Thread Leschke, Scott
Is it possible to configure the location Karaf /data directory (so that it uses a location independent of any particular install)? Scott

RE: Karaf cache directory

2016-05-27 Thread Jean-Baptiste Onofré
You can define KARAF_DATA env variable with the location. RegardsJB  Sent from my Samsung device Original message From: "Leschke, Scott" Date: 27/05/2016 19:38 (GMT+01:00) To: user@karaf.apache.org Subject: Karaf cache directory Is it possible to configure the l

RE: Karaf cache directory

2016-05-27 Thread Leschke, Scott
Thanks. I’m looking at bin/karaf.bat and I see that, what KARAF_BASE defaults to KARAF_HOME, it can be specified independent of the install directory. What is the effect of that? Scott From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: Friday, May 27, 2016 12:58 PM To: user@karaf.apac

Re: Finding DS Component Factories

2016-05-27 Thread Alex Soto
You are right, it is not showing as an SCR component. Need to figure out why. Best regards, Alex soto > On May 27, 2016, at 1:30 PM, David Jencks wrote: > > Using getServiceReference, a service tracker, or a DS reference shouldn’t > make any difference to what you find statically. Are you