I started the server with "sh wso2server.sh start" or "./wso2server.sh
start" command(s) and tried stopping with "sh wso2server.sh stop" or
"./wso2server.sh stop"

On Tue, Sep 29, 2015 at 10:28 PM, Aruna Karunarathna <ar...@wso2.com> wrote:

>
>
> On Tue, Sep 29, 2015 at 10:22 PM, Bhanuka Dissanayake <bhan...@wso2.com>
> wrote:
>
>> Hi ,
>>
>> Yes I tried adding the fix on branch 5.0.X and master both are not
>> effective.
>>
>
> Can you elaborate more on the commands you've used to start and stop the
> server?..
>
>>
>> On Tue, Sep 29, 2015 at 8:36 PM, Aruna Karunarathna <ar...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake <bhan...@wso2.com>
>>> wrote:
>>>
>>>> Hi Aruna,
>>>>
>>>> The fix is not making any effect on the issue , I've tried building the
>>>> server but the problem is still the same , can you please look into it?
>>>>
>>>
>>> What repository did you build?.. BTW PR is not still merged. Did you
>>> build adding the fix?..
>>>
>>>>
>>>> Thank You.
>>>>
>>>> On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri <ka...@wso2.com>
>>>> wrote:
>>>>
>>>>> Thanks a lor Anura.
>>>>>
>>>>> @Bhanuka : Can we please test this.
>>>>>
>>>>> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna <ar...@wso2.com>
>>>>> 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 <ar...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga <sup...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna <ar...@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri <ka...@wso2.com>
>>>>>>>>> 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 <
>>>>>>>>>> ar...@wso2.com> 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 <
>>>>>>>>>>> bhan...@wso2.com> 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
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> 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: ar...@wso2.com | Web: www.wso2.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> 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: ar...@wso2.com | Web: www.wso2.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Supun Malinga,
>>>>>>>>
>>>>>>>> Senior Software Engineer,
>>>>>>>> WSO2 Inc.
>>>>>>>> http://wso2.com
>>>>>>>> email: sup...@wso2.com <sup...@wso2.com>
>>>>>>>> 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: ar...@wso2.com | 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: ar...@wso2.com | 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
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *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: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>
>>
>>
>> --
>> *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
>>
>
>
>
> --
>
> *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: ar...@wso2.com | Web: www.wso2.com
>
>



-- 
*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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to