Thanks everyone for the responses.

@Susinda: Yes, as you have mentioned BPS is currently using
datasource.properties file but they are moving to ndatasource in a future
release.

Regards,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Mon, Mar 9, 2015 at 12:08 PM, Tharik Kanaka <[email protected]> wrote:

> Hi Sohani,
>
> Generally as a practice as i know property files are used to store default
> values and let users to edit configurations using a xml file. If xml file
> configuration is available application will use those or else properties.
> Generally our configurations should be done using xml file. This might be
> changed in your specific scenario.
>
> Regards,
>
> On Mon, Mar 9, 2015 at 11:48 AM, Susinda Perera <[email protected]> wrote:
>
>> Recently i was happend to configure a BPS database using
>> datasources.properties, however as i heard from the team that this will be
>> moved to configured based on master-datasources.xml.
>> May be this is an earlier way of defining data source.
>>
>> On Mon, Mar 9, 2015 at 11:43 AM, Sohani Weerasinghe <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> Since we can configure datasource configuration parameters such as
>>> maxActive, maxWait, maxIdle via UI or in master-datasources.xml file, can
>>> someone explain the purpose of having the datasources.properties file at
>>> repository/conf?
>>>
>>> Even though I edit the config in datasources.properties, it seems the
>>> parameter values are not getting updated. What is the recommended way of
>>> editing the datasource configuration parameters?
>>>
>>> Can someone please provide an input on this?
>>>
>>> Thanks.
>>> Sohani
>>>
>>> Sohani Weerasinghe
>>> Software Engineer
>>> WSO2, Inc: http://wso2.com
>>>
>>> Mobile  : +94 716439774
>>> Blog     :http://christinetechtips.blogspot.com/
>>> Twitter  : https://twitter.com/sohanichristine
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> Mobile:(+94)716049075
>>
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Tharik Kanaka* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: [email protected] | Web: www.wso2.com
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to