You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Frank Langel <fr...@frankjlangel.com> on 2015/02/06 20:45:46 UTC

using config.properties to specify framework properties does not work

Hi,

i am trying to use the config.properties file to add framework properties to
the Felix runtime:

I executed the following steps

1.)  create config.properties with setting osgi.shell.telnet.port=7777 in
./etc directory
2.) make sure that fileinstall pulls from this ./etc diretory works; other
.cfg config files work well
3.) use -Dfelix.config.properties=file:./etc/config.properties to set the
right path 

However, none of the framework properties are accepted/ dont show up when i
use bundlecontext.getProperties()
I also tried using the conf/config.properties path to no avail.

Any ideas would be highly appreciated
Frank