+1 for adding this to carbon.xml to avoid the human errors, since passing
this param can be easily missed by someone who is not used to it. And
supporting both ways ( if not given as command line input, take the
configured value ) would be great.

And as like we have the logs when applying patch changes ( which is really
helpful IMO ), logging the profile name would too help a lot.


On Mon, Mar 3, 2014 at 11:41 PM, Supun Malinga <[email protected]> wrote:

> Hi,
>
> +1.
> @Kasung AFAIR you need to update this in code level (in carbon.util
> package) as well. Currently I don't think its written to parse the false
> argument..
>
> thanks,
>
>
> On Mon, Mar 3, 2014 at 1:01 PM, Shameera Rathnayaka <[email protected]>wrote:
>
>> Hi All,
>>
>> If we didn't start the server as worker, "default" is the profile name
>> which will load, if we start as worker then there should be a profile name
>> "woker" directory in the repository/components.
>>
>> Thanks,
>> Shameera.
>>
>>
>> On Mon, Mar 3, 2014 at 11:26 PM, Shameera Rathnayaka 
>> <[email protected]>wrote:
>>
>>> Hi Miyuru/Kasun,
>>>
>>>
>>> On Mon, Mar 3, 2014 at 10:54 PM, Kasun Gajasinghe <[email protected]>wrote:
>>>
>>>>
>>>> On Mon, Mar 3, 2014 at 10:50 PM, Miyuru Wanninayaka <[email protected]>wrote:
>>>>
>>>>> How about during startup, log a message telling that
>>>>> Starting as a manager|worker node.
>>>>>
>>>>> So less chance of missing proper configuration and also by just
>>>>> looking at logs anyone can say that log in from worker/manager node.
>>>>>
>>>>
>>> +1 for logging the type, but not the worker or manager, as now we are
>>> supporting multiple profile with carbon kernel , best way is log the
>>> profile name.  WDYS?
>>>
>>> @Kasun,
>>> Can you explain how you gonna add this to carbon.xml ? what is the
>>> element name?
>>>
>>>  Thanks,
>>> Shameera.
>>>
>>>
>>>
>>>>
>>>>>
>>>> +1. I will do that as well.
>>>>
>>>>
>>>>>
>>>>> On Monday, March 3, 2014, Kasun Gajasinghe <[email protected]> wrote:
>>>>>
>>>>>>  Hi,
>>>>>>
>>>>>> Shall we $subject from Carbon 4.3.0? And then, force the users to
>>>>>> enable workerNode mode by modifying the startup script itself, instead of
>>>>>> passing -DworkerNode=true property via command-line?
>>>>>>
>>>>>> We have noticed that lot of users are passing the said property via
>>>>>> the command-line, but they sometimes miss to set that. That might lead to
>>>>>> lot of issues especially in DepSync. If we set as above, we can lower the
>>>>>> human errors. WDYT?
>>>>>>
>>>>>> Thanks,
>>>>>> KasunG
>>>>>>
>>>>>> --
>>>>>> *Kasun Gajasinghe*
>>>>>> Software Engineer;
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>
>>>>>>
>>>>>>  ,
>>>>>> *email: *
>>>>>> *kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
>>>>>> 678-0813 <%2B94%20%2877%29%20678-0813>*
>>>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>>>>
>>>>>>
>>>>>>
>>>>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Sent from my iPad
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Kasun Gajasinghe*
>>>> Software Engineer;
>>>> WSO2 Inc.; http://wso2.com
>>>>
>>>>
>>>>  ,
>>>> *email: *
>>>> *kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
>>>> 678-0813 <%2B94%20%2877%29%20678-0813>*
>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>>
>>>>
>>>>
>>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>>
>>>>
>>>>
>>>> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Software Engineer - WSO2 Inc.*
>>> *email: shameera AT wso2.com <[email protected]> , shameera AT
>>> apache.org <[email protected]>*
>>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>>
>>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>>> *Twitter     : *https://twitter.com/Shameera_R
>>>
>>
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com <[email protected]> , shameera AT apache.org
>> <[email protected]>*
>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter     : *https://twitter.com/Shameera_R
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: [email protected] <[email protected]>
> mobile: +94 (0)71 56 91 321
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Ashansa Perera
Software Engineer
WSO2, Inc
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to