Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 167F09734 for ; Thu, 26 Apr 2012 12:56:39 +0000 (UTC) Received: (qmail 99533 invoked by uid 500); 26 Apr 2012 12:56:39 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 99375 invoked by uid 500); 26 Apr 2012 12:56:38 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 99360 invoked by uid 99); 26 Apr 2012 12:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 12:56:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 12:56:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 894B24108A7 for ; Thu, 26 Apr 2012 12:56:17 +0000 (UTC) Date: Thu, 26 Apr 2012 12:56:17 +0000 (UTC) From: "Heribert Hirth (JIRA)" To: issues@karaf.apache.org Message-ID: <1452840279.5108.1335444977579.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <876333895.7822.1328616779375.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (KARAF-1190) Cellar does not replicate Managed Service Factory configurations correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-1190?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1326= 2582#comment-13262582 ]=20 Heribert Hirth commented on KARAF-1190: --------------------------------------- Hm, then it seems a bit strange to me that the service.pid of both entries = is exactly the same in my example, since it's a filtered property. The reason behind filtering the factory PID is not really clear to me, sinc= e the factory is not necessarily present on the original node, too. =20 > Cellar does not replicate Managed Service Factory configurations correctl= y > -------------------------------------------------------------------------= - > > 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 > Assignee: Jean-Baptiste Onofr=C3=A9 > > During the replication of Config Admin entries the property {{service.fac= toryPid}} is lost. For example a Managed Service Factory entry looks like t= his on the original node (copied from the web console): > {code} > PID =3D foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e > Factory PID =3D foo.datasource.factory > BundleLocation =3D mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.= config/2.2.3 > foo.factory.driver.classloader.factory.args =3D org.h2_1.3.154 > org.apache.karaf.features.configKey =3D foo.datasource.factory-h2dataso= urceFactory > osgi.jdbc.driver.class =3D org.h2.Driver > osgi.jdbc.driver.name =3D h2 > osgi.jdbc.driver.version =3D 1.3.154 > service.factoryPid =3D foo.datasource.factory > service.pid =3D foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc= 908e > {code} > But the replicated entry on another cluster node looks like that: > {code} > PID =3D foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc908e > BundleLocation =3D mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.= config/2.2.3 > foo.factory.driver.classloader.factory.args =3D org.h2_1.3.154 > org.apache.karaf.features.configKey =3D foo.datasource.factory-h2dataso= urceFactory > osgi.jdbc.driver.class =3D org.h2.Driver > osgi.jdbc.driver.name =3D h2 > osgi.jdbc.driver.version =3D 1.3.154 > service.pid =3D foo.datasource.factory.c3811782-c150-46e6-b47b-691baacc= 908e > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira