karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Moloney <tim.molo...@gmail.com>
Subject features being configured twice
Date Tue, 07 Nov 2017 23:58:27 GMT
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?


View raw message