On Fri, Jul 29, 2016 at 8:55 PM, Mohamed Firnas <[email protected]> wrote:

>
> *AM Firnas*
> Software Engineer - Intern
> [email protected]
> mobile : +9477 045 8636
>
>
> ---------- Forwarded message ----------
> From: Mohamed Firnas <[email protected]>
> Date: Fri, Jul 29, 2016 at 8:51 PM
> Subject: [Dev] Log already in use ? Server runtime exception
> To: [email protected]
>
>
> Hi,
>
> When I up and run the server, most of the times I found "Log already in
> use ?" exception in console. This happens because of trying force shutdown
> ( ctrl + z )
>

this would stop the process temporarily and won't shut it down.


> , but I could not omit this in some cases like ctrl + c not worked .
>

If you start the server in fore-ground (using ./bin/wso2server.sh), you can
do ctrl+c on the console which will shut it down gracefully.

If you want to start the server in back-groud, use ./bin/wso2server.sh
start
To stop the same, use ./bin/wso2server.sh stop

>
> So then what I am trying is run  "ps -ef |grep wso2" and kill all the
> running instances  using             "kill -9 <pid>"
>
> Is that a good practise ? or else what should I do when this kind of
> exception occurs ? :)
>
> error : http://hastebin.com/rabinolige.sm
>
>
>
> Regards
> Firnas
>
> *AM Firnas*
> Intern - Software Engineer
> [email protected]
> mobile : +9477 045 8636
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to