We also set the following system property in the wso2server.sh/bat files.
 IMHO WorkDirectory element in the carbon.xml is a redundant element.  We
should get rid of it if there are no objections.

-Djava.io.tmpdir="$CARBON_HOME/tmp"



Thanks,
Sameera.


On Thu, Jul 11, 2013 at 2:37 PM, Manoj Kumara <[email protected]> wrote:

> Hi All,
>
> When observing on Carbon-JIRA issue [1] I observed that currently on
> carbon.xml the work directory for house keeping task is set as ,
>
>  <WorkDirectory>${carbon.home}/tmp/work</WorkDirectory>
>
> But currently our temp files are created inside CARBON_HOME/tmp directory
> and these files will not be cleaned during the clean-up process. The idea
> is to set workerDirectory to CARBON_HOME/tmp.
>
> Appreciate your guidance.
>
> [1] https://wso2.org/jira/browse/CARBON-11926
>
>
> Best Regards..
>
>
> Manoj Kumara
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
> Twitter:  http://twitter.com/ManKuma
> Mobile: +94713448188
>



-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to