Hi Christian, hi Jean-Baptiste,

unfortunately I won't be able try the "-1" until next week but it makes a
lot of sense to add a number to configure a ManagedServiceFactory.
I don't remember that from the configuration user guide.

Cheers
Am 28.10.2014 07:21 schrieb "Jean-Baptiste Onofré" <[email protected]>:

> Hi Ronny
>
> For managed, the configuration pid is a bit different as it's composed by
> pid-factory. So can you try to append -1 before .cfg?
>
> Thanks
> Regards
> JB
>
>
> Sent from my Samsung Galaxy smartphone.
>
>
> -------- Original message --------
> From: Ronny Bräunlich <[email protected]>
> Date:27/10/2014 19:47 (GMT+01:00)
> To: [email protected]
> Cc:
> Subject: Problems with cfg file Karaf 3.0.2
>
> Hi everyone,
>
> I have a problem regarding a cfg file and a ManagedServiceFactory.
> I use a Karaf 3.0.2 and placed a config file in the etc/ directory. The
> file is named
> org.camunda.bpm.extension.osgi.configadmin.ManagedProcessEngineFactory.cfg
> which matches my ManagedServiceFactory’s pid.
> When I run the commands config:list
> "(service.pid=org.camunda.bpm.extension.osgi.configadmin.ManagedProcessEngineFactory)“
> and service:list org.osgi.service.cm.ManagedServiceFactory I can see that
> the config and my factory are present.
> The log also shows the entry: „Creating configuration from
> org.camunda.bpm.extension.osgi.configadmin.ManagedProcessEngineFactory.cfg“
> Nevertheless, no service is getting created. Debugging showed me that the
> factory's update() method never gets called.
> Do you have any idea if I’m missing something?
>
> Cheers,
> Ronny
>

Reply via email to