Re: Change Karaf data folder location when running it as Windows Service

2013-04-30 Thread samliu
Yes, I tried with an absolute path for wrapper.logfile, but it still didn't work... I have KARAF_DATA set up as an environment variable in Windows 7. All the data folders in karaf were moved to the location I wanted. Also, I found that by setting wrapper.console.format blank won't disable the cons

Re: Change Karaf data folder location when running it as Windows Service

2013-04-30 Thread samliu
I was able to move the data folder of Karaf to somewhere else by modifying the KARAF_DATA, however, a wrapper.log file will be generated in the Karaf installation directory once running karaf as a windows service. I modified the wrapper.logfile in wrapper.conf, but it didn't work. Any suggestion?

Re: Change Karaf data folder location when running it as Windows Service

2013-04-30 Thread samliu
Thanks for the note! That's very helpful. I modified the KARAF_DATA so that it is just the data folder that will be moved. -- View this message in context: http://karaf.922171.n3.nabble.com/Change-Karaf-data-folder-location-when-running-it-as-Windows-Service-tp4028534p4028536.html Sent from th

Change Karaf data folder location when running it as Windows Service

2013-04-30 Thread samliu
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