Hi Sam,
you can update the wrapper.conf to define a different KARAF_BASE, the
data folder will be relative to the KARAF_BASE variable.
Is it OK for you ?
Regards
JB
On 04/30/2013 03:12 PM, samliu wrote:
Hi,
Does anyone know how I can move the data folder to somewhere else while
running Karaf as a Windows service?
The longer story is that I was able to change the location of the data cache
folder to somewhere else by modifying the karaf.bat file and running it in
cmd window. However, when I used wrapper to wrap karaf as a Windows service,
and ran it in that way, the data cache folder went back to its default
location.
Thanks!
Sam
--
View this message in context:
http://karaf.922171.n3.nabble.com/Change-Karaf-data-folder-location-when-running-it-as-Windows-Service-tp4028534.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com