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