Hi,
Thanks for the fix and the explanation on this issue.

On Tue, Apr 19, 2011 at 12:32 AM, Senaka Fernando <[email protected]> wrote:

> Awesome.
>
> So, this also explains the mystery around exec on bash. Having and
> not-having exec leads to two different behaviours, as Azeez and I realized.
> Having an exec would cause the shell to quit and lend the control to the
> exec'd process. And, simply calling Java inside the shell would create a
> Java process as a child of the shell.
>
> Guys, if you run into mind-boggling issues with exec in shell scripts, I'm
> certain this response should be helpful.
>
>
Quite interesting too.

Thank you.
Regards,
Pradeeban.

Thanks,
> Senaka.
>
>
> On Mon, Apr 18, 2011 at 7:27 PM, Afkham Azeez <[email protected]> wrote:
>
>> This has been fixed. In test mode, we need to use exec, otherwise we
>> cannot terminate the process.
>>
>> :wq
>>
>>
>>
>> On Mon, Apr 18, 2011 at 3:09 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> This shutdownHook in ServerUtils is not getting triggered.
>>>
>>> Runtime.getRuntime().addShutdownHook(new Thread() {
>>>                 public void run() {
>>>                     try {
>>>                         ServerUtils.shutdown();
>>>                     } catch (Exception e) {
>>>                         e.printStackTrace();
>>>                     }
>>>                 }
>>>             });
>>>
>>> On Mon, Apr 18, 2011 at 2:45 PM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> I will look into this.
>>>>
>>>> Azeez
>>>>
>>>>
>>>> On Mon, Apr 18, 2011 at 2:41 PM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>> Yes, I also experienced this. I had sent a mail on this two days ago.
>>>>>
>>>>> Azeez
>>>>>
>>>>> On Mon, Apr 18, 2011 at 12:13 PM, Kathiravelu Pradeeban <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>> When I build carbon/core/integration using 'mvn clean install', the
>>>>>> carbon server starts during the build. But it doesn't stop itself when 
>>>>>> the
>>>>>> build completes. Is there anyone who has experienced the same before?
>>>>>>
>>>>>> [Took an svn up as of yesterday.]
>>>>>>
>>>>>> Thank you.
>>>>>> Regards,
>>>>>> Pradeeban.
>>>>>> --
>>>>>> Kathiravelu Pradeeban.
>>>>>> Software Engineer.
>>>>>> WSO2 Inc.
>>>>>>
>>>>>> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Carbon-dev mailing list
>>>>>> [email protected]
>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>> http://wso2.com,
>>>>> *
>>>>> *
>>>>> *Member; Apache Software Foundation; 
>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>> *
>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>>> ,
>>>> *
>>>> *
>>>> *Member; Apache Software Foundation; 
>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>> *
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to