2009/2/5 Sahoo <[email protected]> > I have installed Felix Web Console, which has a few configuration > properties as documented at [1]. I have also started Felix Configuration > Admin Service (I am using version 1.0.5.SNAPSHOT). I created a properties > file called > bundle41/data/config/org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg > > in my felix-cache-dir, 41 is the config admin bundle's id. In the file, I > specified an empty username property. Yet, the service is not getting > updated. Is this not the right way of doing things? I have tried restarting > web console bundle, but in vain. >
Configuration properties are updated by agents using the ConfigAdmin API to store and forward the configuration onto the relevant managed services, components, etc. So the ConfigAdmin service does not poll the filesystem for properties, rather it waits for agents to supply configuration data (the spec doesn't assume a filesystem exists) Peter's FileInstall bundle can act as a simple ConfigAdmin agent: http://felix.apache.org/site/apache-felix-file-install.html Just place your properties file in the polled directory with the correct name. Thanks, > Sahoo > > [1] > http://felix.apache.org/site/apache-felix-web-console.html#ApacheFelixWebConsole-Configuration > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Stuart

