Thanks a lor Anura.

@Bhanuka : Can we please test this.

On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna <[email protected]> wrote:

> @Kasun
>
> This is fixed with [1].
>
> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>
>
> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna <[email protected]>
> wrote:
>
>>
>>
>> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga <[email protected]> wrote:
>>
>>>
>>>
>>> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna <[email protected]>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Aruna,
>>>>>
>>>>> Will you be able to provide some insight.. We need this capability to
>>>>> automate perf-testing of the C5 based servers. So, would be great if we 
>>>>> can
>>>>> have a solution soon.
>>>>>
>>>>
>>>> Hi Kasun,
>>>>
>>>> Seems like the wso2carbon.pid file (which contains the process id of
>>>> the server) is not generated by the server. Haven't gone through the code
>>>> level.
>>>>
>>>
>>> AFAIR this is generated from the wso2server.sh
>>>
>>
>> Nope. It's added through code[1]. And its being read by the
>> wso2server.sh.. :)
>>
>> @Kasun. I went through the code. We will be able to add a fix for this
>> soon.
>>
>> [1].
>> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168
>>
>>
>>>
>>>
>>>
>>>> Until finding a proper solution what you can do is, after starting the
>>>> server create a wso2carbon.pid file in the root folder and add the carbon
>>>> process id.
>>>> You can get the carbon process id by jps command. Not sure this is a
>>>> feasible workaround for your perf-testing scenario,
>>>>
>>>> Regards,
>>>> Aruna
>>>>
>>>>>
>>>>> Thanks,
>>>>> Kasun.
>>>>>
>>>>> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Bhanuka,
>>>>>>
>>>>>> Yes I was able to reproduce the same. Can you create a jira for
>>>>>> this?..
>>>>>>
>>>>>> Regards,
>>>>>> Aruna
>>>>>>
>>>>>> On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have
>>>>>>> tried to start and stop the server demonically. The start command is
>>>>>>> working but the stop command gives the following error.
>>>>>>>
>>>>>>> cat:
>>>>>>> /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
>>>>>>> No such file or directory
>>>>>>> ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
>>>>>>> -sigspec] [pid | job]... or
>>>>>>> kill -l [exitstatus]
>>>>>>>
>>>>>>> --
>>>>>>> *Bhanuka Dissanayake*
>>>>>>> *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
>>>>>>> <http://wso2.com/>*
>>>>>>> Mobile : +94 777 669508
>>>>>>> Tel      : +94 112 793214
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Aruna Sujith Karunarathna *| Software Engineer
>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>>>> Email: [email protected] | Web: www.wso2.com
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kasun Indrasiri
>>>>> Software Architect
>>>>> WSO2, Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> cell: +94 77 556 5206
>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Aruna Sujith Karunarathna *| Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>> Email: [email protected] | Web: www.wso2.com
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: [email protected] | Web: www.wso2.com
>>
>>
>
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: [email protected] | Web: www.wso2.com
>
>



-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to