You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Charles Moulliard <cm...@gmail.com> on 2011/10/25 11:16:22 UTC
Karaf shutdown
Hi,
Can someone confirm that when we shutdown karaf, we stop the bundle =
0 which is Apache Felix or Eclipse Equinox ? This system bundle when
it will shutdown will automatically shutdown all the bundles deployed
?
Bundle bundle = getBundleContext().getBundle(0);
bundle.stop();
Regards,
Charles Moulliard
Apache Committer
Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard
Re: Karaf shutdown
Posted by Guillaume Nodet <gn...@gmail.com>.
That's right.
On Tue, Oct 25, 2011 at 11:16, Charles Moulliard <cm...@gmail.com>wrote:
> Hi,
>
> Can someone confirm that when we shutdown karaf, we stop the bundle =
> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
> it will shutdown will automatically shutdown all the bundles deployed
> ?
>
> Bundle bundle = getBundleContext().getBundle(0);
> bundle.stop();
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
>
--
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
Re: Karaf shutdown
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I think that the Guillaume's start-level is better than mine ;)
Regards
JB
On 10/25/2011 11:48 AM, Charles Moulliard wrote:
> Bundle update was not the same between Guillaume and JB when they
> click on the send button ;-)
>
> On Tue, Oct 25, 2011 at 11:25 AM, Jean-Baptiste Onofré<jb...@nanthrax.net> wrote:
>> Yep, you are the Lucky Luke, I'm still Billy the Kid ;)
>>
>> Regards
>> JB
>>
>> On 10/25/2011 11:23 AM, Guillaume Nodet wrote:
>>>
>>> It seems I beat you by only 8 seconds on that one ... ;-)
>>>
>>> On Tue, Oct 25, 2011 at 11:18, Jean-Baptiste Onofré<jb...@nanthrax.net>
>>> wrote:
>>>
>>>> Hi Charles,
>>>>
>>>> correct:
>>>>
>>>>
>>>> Bundle bundle = getBundleContext().getBundle(**0);
>>>> bundle.stop();
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>
>>>> On 10/25/2011 11:16 AM, Charles Moulliard wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Can someone confirm that when we shutdown karaf, we stop the bundle =
>>>>> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
>>>>> it will shutdown will automatically shutdown all the bundles deployed
>>>>> ?
>>>>>
>>>>> Bundle bundle = getBundleContext().getBundle(**0);
>>>>> bundle.stop();
>>>>>
>>>>> Regards,
>>>>>
>>>>> Charles Moulliard
>>>>>
>>>>> Apache Committer
>>>>>
>>>>> Blog : http://cmoulliard.blogspot.com
>>>>> Twitter : http://twitter.com/cmoulliard
>>>>> Linkedin :
>>>>> http://www.linkedin.com/in/**charlesmoulliard<http://www.linkedin.com/in/charlesmoulliard>
>>>>> Skype: cmoulliard
>>>>>
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>
>>>
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf shutdown
Posted by Charles Moulliard <cm...@gmail.com>.
Bundle update was not the same between Guillaume and JB when they
click on the send button ;-)
On Tue, Oct 25, 2011 at 11:25 AM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Yep, you are the Lucky Luke, I'm still Billy the Kid ;)
>
> Regards
> JB
>
> On 10/25/2011 11:23 AM, Guillaume Nodet wrote:
>>
>> It seems I beat you by only 8 seconds on that one ... ;-)
>>
>> On Tue, Oct 25, 2011 at 11:18, Jean-Baptiste Onofré<jb...@nanthrax.net>
>> wrote:
>>
>>> Hi Charles,
>>>
>>> correct:
>>>
>>>
>>> Bundle bundle = getBundleContext().getBundle(**0);
>>> bundle.stop();
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 10/25/2011 11:16 AM, Charles Moulliard wrote:
>>>
>>>> Hi,
>>>>
>>>> Can someone confirm that when we shutdown karaf, we stop the bundle =
>>>> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
>>>> it will shutdown will automatically shutdown all the bundles deployed
>>>> ?
>>>>
>>>> Bundle bundle = getBundleContext().getBundle(**0);
>>>> bundle.stop();
>>>>
>>>> Regards,
>>>>
>>>> Charles Moulliard
>>>>
>>>> Apache Committer
>>>>
>>>> Blog : http://cmoulliard.blogspot.com
>>>> Twitter : http://twitter.com/cmoulliard
>>>> Linkedin :
>>>> http://www.linkedin.com/in/**charlesmoulliard<http://www.linkedin.com/in/charlesmoulliard>
>>>> Skype: cmoulliard
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Karaf shutdown
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Yep, you are the Lucky Luke, I'm still Billy the Kid ;)
Regards
JB
On 10/25/2011 11:23 AM, Guillaume Nodet wrote:
> It seems I beat you by only 8 seconds on that one ... ;-)
>
> On Tue, Oct 25, 2011 at 11:18, Jean-Baptiste Onofré<jb...@nanthrax.net> wrote:
>
>> Hi Charles,
>>
>> correct:
>>
>>
>> Bundle bundle = getBundleContext().getBundle(**0);
>> bundle.stop();
>>
>> Regards
>> JB
>>
>>
>> On 10/25/2011 11:16 AM, Charles Moulliard wrote:
>>
>>> Hi,
>>>
>>> Can someone confirm that when we shutdown karaf, we stop the bundle =
>>> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
>>> it will shutdown will automatically shutdown all the bundles deployed
>>> ?
>>>
>>> Bundle bundle = getBundleContext().getBundle(**0);
>>> bundle.stop();
>>>
>>> Regards,
>>>
>>> Charles Moulliard
>>>
>>> Apache Committer
>>>
>>> Blog : http://cmoulliard.blogspot.com
>>> Twitter : http://twitter.com/cmoulliard
>>> Linkedin : http://www.linkedin.com/in/**charlesmoulliard<http://www.linkedin.com/in/charlesmoulliard>
>>> Skype: cmoulliard
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf shutdown
Posted by Guillaume Nodet <gn...@gmail.com>.
It seems I beat you by only 8 seconds on that one ... ;-)
On Tue, Oct 25, 2011 at 11:18, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Hi Charles,
>
> correct:
>
>
> Bundle bundle = getBundleContext().getBundle(**0);
> bundle.stop();
>
> Regards
> JB
>
>
> On 10/25/2011 11:16 AM, Charles Moulliard wrote:
>
>> Hi,
>>
>> Can someone confirm that when we shutdown karaf, we stop the bundle =
>> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
>> it will shutdown will automatically shutdown all the bundles deployed
>> ?
>>
>> Bundle bundle = getBundleContext().getBundle(**0);
>> bundle.stop();
>>
>> Regards,
>>
>> Charles Moulliard
>>
>> Apache Committer
>>
>> Blog : http://cmoulliard.blogspot.com
>> Twitter : http://twitter.com/cmoulliard
>> Linkedin : http://www.linkedin.com/in/**charlesmoulliard<http://www.linkedin.com/in/charlesmoulliard>
>> Skype: cmoulliard
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
Re: Karaf shutdown
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Charles,
correct:
Bundle bundle = getBundleContext().getBundle(0);
bundle.stop();
Regards
JB
On 10/25/2011 11:16 AM, Charles Moulliard wrote:
> Hi,
>
> Can someone confirm that when we shutdown karaf, we stop the bundle =
> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
> it will shutdown will automatically shutdown all the bundles deployed
> ?
>
> Bundle bundle = getBundleContext().getBundle(0);
> bundle.stop();
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com