Hi Sam,
nice catch.
It should work if you update the karaf-wrapper.conf file:
wrapper.logfile=%KARAF_DATA%\log\wrapper.log
Did you try to use an absolute path here instead of the KARAF_DATA variable:
wrapper.logfile="c:\path\to\wrapper.log"
?
Is KARAF_DATA define in the first section of the karaf-wraper.conf file,
like this:
set.default.KARAF_DATA=${karaf.data}
?
Regards
JB
On 04/30/2013 06:33 PM, samliu wrote:
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?
Thanks!!
--
View this message in context:
http://karaf.922171.n3.nabble.com/Change-Karaf-data-folder-location-when-running-it-as-Windows-Service-tp4028534p4028540.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