Cellar does not replicate Managed Service Factory configurations correctly
--------------------------------------------------------------------------
Key: KARAF-1190
URL: https://issues.apache.org/jira/browse/KARAF-1190
Project: Karaf
Issue Type: Bug
Components: cellar-config
Affects Versions: cellar-2.2.3
Reporter: Heribert Hirth
During the replication of Config Admin entries the property
{{service.factoryPid}} is lost. For example a Managed Service Factory entry
looks like this on the original node (copied from the web console):
{code}
PID = foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e
Factory PID = foo.datasource.factory
BundleLocation =
mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/2.2.3
foo.factory.driver.classloader.factory.args = org.h2_1.3.154
org.apache.karaf.features.configKey =
foo.datasource.factory-h2datasourceFactory
osgi.jdbc.driver.class = org.h2.Driver
osgi.jdbc.driver.name = h2
osgi.jdbc.driver.version = 1.3.154
service.factoryPid = foo.datasource.factory
service.pid = foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e
{code}
But the replicated entry on another cluster node looks like that:
{code}
PID = foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e
BundleLocation =
mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/2.2.3
foo.factory.driver.classloader.factory.args = org.h2_1.3.154
org.apache.karaf.features.configKey =
foo.datasource.factory-h2datasourceFactory
osgi.jdbc.driver.class = org.h2.Driver
osgi.jdbc.driver.name = h2
osgi.jdbc.driver.version = 1.3.154
service.pid = foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira