[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    Re: [Dev] Log already in use ? Server runtime exception
From:       Mohamed Firnas <firnas () wso2 ! com>
Date:       2016-07-30 15:26:44
Message-ID: CADtLPhCgGNzt8RECN40gDziYLjdDAOEG=BhO_3-QW5F-nUE4Sg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Yes. Thanks.

And my question is , When we are trying to do some experiments and If it
throws run-time exception , we could not able to continue further since
server not responding for several minutes/ long gap. such cases not
possible to gracefully shutdown the server as you mentioned , need force
shutdown (temporarily stop the process / suspending ) anyway (CTRL + Z ) ,
for then can continue by killing each and every running instances in
background.

This is what I am doing normally when I faced this kind of problems

exactly what should I have to do in such cases like server not responding ?
because force shutdown would make crash in the server and break pipeline
and would throw kind of JDBC database exception,

and to start up the server again we should need to restart the machine or
else build the product again as I know . please correct me if I went wrong


[1] https://wso2.org/jira/browse/CARBON-10291

Regards
Firnas

*AM Firnas*
Software Engineer - Intern
firnas@wso2.com
mobile : +9477 045 8636


On Sat, Jul 30, 2016 at 9:48 AM, Isuru Rupasinghe <isururu@wso2.com> wrote:

> Hi,
>
> I think your not a member in Dev List. To Subscribe,  Send  a mail to "*dev-request@wso2.org
> <architecture-request@wso2.org>*" with subject "*Subscribe*" [1]
>
> [1] http://wso2.com/mail/
>
> Thanks & Regards,
>
> On Fri, Jul 29, 2016 at 8:59 PM, Mohamed Firnas <firnas@wso2.com> wrote:
>
>> Why I could not send emails to dev group ?
>>
>>
>> *AM Firnas*
>> Software Engineer - Intern
>> firnas@wso2.com
>> mobile : +9477 045 8636
>>
>>
>> ---------- Forwarded message ----------
>> From: Mohamed Firnas <firnas@wso2.com>
>> Date: Fri, Jul 29, 2016 at 8:55 PM
>> Subject: Fwd: [Dev] Log already in use ? Server runtime exception
>> To: dev@wso2.org
>>
>>
>>
>> *AM Firnas*
>> Software Engineer - Intern
>> firnas@wso2.com
>> mobile : +9477 045 8636
>>
>>
>> ---------- Forwarded message ----------
>> From: Mohamed Firnas <firnas@wso2.com>
>> Date: Fri, Jul 29, 2016 at 8:51 PM
>> Subject: [Dev] Log already in use ? Server runtime exception
>> To: dev@wso2.com
>>
>>
>> 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 ) , but I could not omit this in some cases like ctrl + c not
>> worked .
>>
>> 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
>> firnas@wso2.com
>> mobile : +9477 045 8636
>>
>>
>>
>>
>
>
> --
>
>
>
>
> *Isuru RupasingheWSO2 Inc.: http://wso2.com
> <http://wso2.com/>lean.enterprise.middle-waremobile: +94 77 590 4545
> <%2B94%2077%20352%C2%A05930>*
> *office: +94 11 214 5345 / +94 11 7**43 5800 ext: 5739*
>
> <http://wso2.com/signature>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>Yes. Thanks.<div><br></div><div>And my question \
is , When we are trying to do some experiments and If it throws run-time exception , \
we could not able to continue further since server not responding for several \
minutes/ long gap. such cases not possible to gracefully shutdown the server as you \
mentioned , need force shutdown (temporarily stop the process / suspending )  anyway \
(CTRL + Z ) , for then can continue by killing each and every running instances in \
background.</div><div><br></div><div>This is what I am doing normally when I faced \
this kind of problems</div><div><br></div><div>exactly  what should I have to do in \
such cases like server not responding ? because force shutdown would make crash in \
the server and break pipeline and would throw kind of JDBC database exception,  \
</div><div><br></div><div>and to start up the server again we should need to restart \
the machine or else build the product again as I know . please correct me if I went \
wrong  </div><div><br></div><div><br></div><div>[1] <a \
href="https://wso2.org/jira/browse/CARBON-10291">https://wso2.org/jira/browse/CARBON-10291</a> \
</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards</div><div \
class="gmail_extra">Firnas</div><div class="gmail_extra"><br \
clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div><b>AM \
Firnas</b><br></div>Software Engineer - Intern<br><span style="font-size:small"><a \
href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a></span><br></div>mobile : <a \
href="tel:%2B9477%20045%208636" value="+94770458636" target="_blank">+9477 045 \
8636</a><br><br></div></div></div></div></div> <br><div class="gmail_quote">On Sat, \
Jul 30, 2016 at 9:48 AM, Isuru Rupasinghe <span dir="ltr">&lt;<a \
href="mailto:isururu@wso2.com" target="_blank">isururu@wso2.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Hi,</div><div><br></div><div>I think your not a member in Dev List. To \
Subscribe,   Send   a mail to &quot;<span style="font-size:12.8px"><b><a \
href="mailto:architecture-request@wso2.org" \
target="_blank"><span>dev</span>-request@wso2.org</a></b>&quot; with subject \
&quot;<b>Subscribe</b>&quot; [1]  </span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">[1]  \
</span><a href="http://wso2.com/mail/" \
target="_blank">http://wso2.com/mail/</a></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks \
&amp; Regards,<br></span></div></div><div class="gmail_extra"><div><div><br><div \
class="gmail_quote">On Fri, Jul 29, 2016 at 8:59 PM, Mohamed Firnas <span \
dir="ltr">&lt;<a href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Why I could not send emails to \
dev group ?  </div><div><br></div><br clear="all"><div><div><div dir="ltr"><div><div \
dir="ltr"><div><div><b>AM Firnas</b><br></div>Software Engineer - Intern<br><span \
style="font-size:small"><a href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a></span><br></div>mobile : <a \
href="tel:%2B9477%20045%208636" value="+94770458636" target="_blank">+9477 045 \
8636</a><br><br></div></div></div></div></div> <br><div \
class="gmail_quote">---------- Forwarded message ----------<br>From: <b \
class="gmail_sendername">Mohamed Firnas</b> <span dir="ltr">&lt;<a \
href="mailto:firnas@wso2.com" target="_blank">firnas@wso2.com</a>&gt;</span><br>Date: \
Fri, Jul 29, 2016 at 8:55 PM<br>Subject: Fwd: [Dev] Log already in use ? Server \
runtime exception<br>To: <a href="mailto:dev@wso2.org" \
target="_blank">dev@wso2.org</a><br><br><br><div dir="ltr"><br \
clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div><b>AM \
Firnas</b><br></div>Software Engineer - Intern<br><span style="font-size:small"><a \
href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a></span><br></div>mobile : <a \
href="tel:%2B9477%20045%208636" value="+94770458636" target="_blank">+9477 045 \
8636</a><br><br></div></div></div></div></div> <br><div \
class="gmail_quote"><span>---------- Forwarded message ----------<br>From: <b \
class="gmail_sendername">Mohamed Firnas</b> <span dir="ltr">&lt;<a \
href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a>&gt;</span><br></span><span>Date: Fri, Jul 29, \
2016 at 8:51 PM<br>Subject: [Dev] Log already in use ? Server runtime \
exception<br>To: <a href="mailto:dev@wso2.com" \
target="_blank">dev@wso2.com</a><br><br><br></span><div><div><div \
dir="ltr"><div>Hi,</div><div><br></div><div>When I up and run the server, most of the \
times I found &quot;Log already in use ?&quot; exception in console. This happens \
because of trying force shutdown ( ctrl + z ) , but I could not omit this in some \
cases like ctrl + c not worked .</div><div><br></div><div>So then what I am trying is \
run   &quot;ps -ef |grep wso2&quot; and kill all the running instances   using        \
&quot;kill -9 &lt;pid&gt;&quot;</div><div><br></div><div>Is that a good practise ? or \
else what should I do when this kind of exception occurs ? :)  \
</div><div><br></div><div>error : <a href="http://hastebin.com/rabinolige.sm" \
target="_blank">http://hastebin.com/rabinolige.sm</a>  \
</div><div><br></div><div><br></div><div><br></div><div>Regards</div><div>Firnas</div><br \
clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div><b>AM \
Firnas</b><br></div>Intern - Software Engineer  </div><div><span \
style="font-size:small"><a href="mailto:firnas@wso2.com" \
target="_blank">firnas@wso2.com</a></span><br></div>mobile : <a \
href="tel:%2B9477%20045%208636" value="+94770458636" target="_blank">+9477 045 \
8636</a><br><br></div></div></div></div></div> </div>
</div></div></div><br></div>
</div><br></div>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- \
<br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div \
dir="ltr"><i><span style="color:rgb(136,136,136);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><b><span><span><span><span \
style="color:rgb(153,153,153)">Isuru \
Rupasinghe</span></span></span></span></b></span><span \
style="color:rgb(153,153,153)"><br \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)">WSO2 Inc.<font \
color="#888888">:</font> </span><a href="http://wso2.com/" \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)" \
target="_blank">http://wso2.com</a><br \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span><span><sp \
an>lean</span></span></span><span><span><span>.</span></span></span>enterprise<span><span><span>.</span></span></span>middle-ware</span><br \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><br \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span><span><span>mobile</span></span></span>: \
</span><a href="tel:%2B94%2077%20352%C2%A05930" value="+94773525930" \
target="_blank">+94 77 590 4545</a></span></i><span \
style="color:rgb(153,153,153)"><br><i><span>office</span>: +94 11 214 5345 /  +94 11 \
7</i><i>43 5800  <span style="font-size:12.8px">ext: \
5739</span></i></span><div><div><span style="color:rgb(153,153,153)"><span \
style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span><span><span></span></span></span></span></span><br><span><span><font \
color="#888888"><a href="http://wso2.com/signature" value="+94773525930" \
target="_blank"><span><span><font color="#888888"><span><span><font \
color="#888888"><i><span \
style="color:rgb(136,136,136);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><b><span><span><span><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" height="58" \
width="240"></span></span></span></b></span></i></font></span></span></font></span></span></a></font></span></span></div></div></div></div></div></div>
 </font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </font></span></div>
</blockquote></div><br></div></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic