Thanks JB - I appreciate it. /Bengt
Den tors 17 dec. 2020 kl 06:08 skrev Jean-Baptiste Onofre <[email protected]>: > Hi, > > There were lot of changes between 4.0.x and 4.3.x. I don’t remember > changes about the service wrapper. > > Let me reproduce and do a git bisect to identify the change. > > I will keep you posted. > > Regards > JB > > > Le 16 déc. 2020 à 16:16, Bengt Rodehav <[email protected]> a écrit : > > > > 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? > >
