I am upgrading from Karaf 4.0.7 to 4.3.0 and have run into problems
starting Karaf as a service.

We want to be able to unpack our Karaf based application anywhere so we
need to avoid absolute paths everywhere. In the past, our
karaf-wrapper.conf has contained the following lines:

set.default.KARAF_HOME=..
set.default.KARAF_BASE=..
set.default.KARAF_DATA=../data
set.default.KARAF_ETC=../etc

This has worked fine since the Wrapper always sets the directory in which
karaf-wrapper.exe resides as the working directory. Therefore, since
karaf-wrapper.exe resides in the %KARAF_HOME%/bin directory, ".." takes us
back to %KARAF_HOME%.

However, this does not seem to work in Karaf 4.3.0. I have tried several
relative paths but I cannot figure out what directory ".." seems to point
to in Karaf 4.3.0.

Has anything related to this been changed from Karaf 4.0.7 to Karaf 4.3.0?

Reply via email to