Hi Tim,
the <config/> contains a config factory right ? Something like pid-foo ?
Do you have the corresponding cfg file in the etc folder ?
Regards
JB
On 11/08/2017 12:58 AM, Tim Moloney wrote:
I'm upgrading an application from Karaf 2.3.3 to 4.0.10 and have it so that
everything compiles and loads correctly. Unfortunately, the services are
getting configured twice.
The app configures its services using named <config> blocks in the features
repository. With Karaf 4.0.10, the service factory's update(servicePid,
dictionary) method is getting called twice with the same config block
(dictionary) but with different servicePids.
Any thoughts on how to get around this issue?
On a related note, after the services are configured, a new file is created in
the etc directory named after the config block name. This didn't happen with
Karaf 2.3.3. Is there a configuration so these files aren't written?
Thanks,
Tim
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com