On Sat, Feb 20, 2010 at 3:13 PM, Hiranya Jayathilaka <[email protected]>wrote:

> Folks, what is the best place to keep properties files in a Carbon based
> product? I believe we got two options right now:
>
> 1. CARBON_HOME/lib
> 2. CARBON_HOME/webapps/ROOT/WEB-INF/classes
>
> Currently the log4j.properties is kept in the lib directory. To be
> consistent with that I have moved the properties files used by the ESB (eg:
> synapse.properties) to the same directory. But when doing a application
> server based deployment user must copy the files to the other location.
>

The issue with location 2, is that the context ROOT, may change, and result
in a loss of the logs, unless the user edits the start-up scripts, which
doesn't sound nice.

Thanks,
Senaka.

>
> Thanks
> --
> Hiranya Jayathilaka
> Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected];  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to