Hi,

interesting, you might have hit a bug there. Could be related to the
factory PID.
I'd think that the configuration for any service, even managed ones should
be shared.
It's time to open a jira issue for this.

regards, Achim


2014-12-22 21:10 GMT+01:00 Ronny Bräunlich <[email protected]>:
>
> Hi all,
>
> I know I already had some similar question but I think I am getting closer
> to the real problem.
> There is an example project, too, which you can find here:
> https://github.com/rbraeunlich/karaf-managed-service-factory-example
>
> Basically I have two Karaf instances synchronized with the help of Cellar.
> In the etc/ directory I placed a file
> named de.blogspot.wrongtracks.simple.factory.Factory-1.cfg
> The log of the first Karaf shows the expected log entries:
> "Got pid:
> de.blogspot.wrongtracks.simple.factory.Factory.6b9773c4-a828-4ddc-bbdc-ecbdd99535cb
> with following dictionary.“
> Unfortunately, the second Karaf doesn’t want to participate. The
> configuration arrived (visible via config:list "(service.pid=de.blogspot*)
> “ but no log entries are visible.
> Shouldn’t the second factory write the log entries, too?
>
> Cheers,
> Ronny
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to