Karaf
  1. Karaf
  2. KARAF-1190

Cellar does not replicate Managed Service Factory configurations correctly

    Details

      Description

      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):

      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
      

      But the replicated entry on another cluster node looks like that:

      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
      

        Activity

        Heribert Hirth created issue -
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s cellar-3.0.0 [ 12316442 ]
        Fix Version/s cellar-2.2.4 [ 12319520 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Heribert Hirth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development