Hi, It's an issue already identify (and fixed). What's the Karaf version ?
Anyway, as a workaround, you can use <configfile/> instead of <config/>. Regards JB On 08/05/2014 11:58 AM, chutch wrote:
I'm trying to create a simple configuration for Amdatu's MongoDB <http://www.amdatu.org/components/mongodb.html> component. When I create a file named *org.amdatu.mongo-kairos.cfg* with following line inside *dbName=kairos* and put it into the deploy folder - everything works OK. However, when I'm trying to use config tag in features.xml nothing happens. Part of my feature file, which uses configuration tag: <http://karaf.apache.org/manual/latest-2.3.x/users-guide/provisioning.html#Configurations> <feature name="persistency" version="0.0.1-SNAPSHOT" description="MongoDB Persistency"> //(...) <config name="org.amdatu.mongo-kairos"> dbName=kairos </config> </feature> The above is a copy/paste from my stackoverflow question, I didn't know about the list. So if someone is interested in getting points, please go ahead. :-) -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-create-configuration-for-Managed-Service-Factory-with-Karaf-features-tp4034592.html Sent from the Karaf - User mailing list archive at Nabble.com.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
