Greetings,

I try to overwrite a configuration (Karaf 4.3.3) by using environment
variables like mentioned in the Karaf documentation:
https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/configuration.html

It works fine for simple names like `sshPort`, but fails when the
variable name is separated by dots.

Example:

Config file:
[karaf]/etc/org.ops4j.pax.web.cfg

Configuration to overwrite in file:
org.osgi.service.http.port = 8181

Set environment variable:
export ORG_OPS4J_PAX_WEB_ORG_OSGI_SERVICE_HTTP_PORT=8186

This does not set the new value. Something I'm doing wrong? Or maybe it
looks for a file called `org.ops4j.pax.web.org.osgi.service.http.cfg` to
set/overwrite 'port'?

All the best,
 Oliver

Reply via email to