Hi,
As you are using directly bin/karaf (via bin/start & bin/stop), without
wrapper or watchdog, karaf doesn't stop automatically. Especially, if
you see a Karaf dump zip file created, it's certainly a manual or
programmatic action.
Maybe you can take a look on the audit.log to see what is
Hello, we are currently developing an application based on karaf 4.1.6, but
we do not manage the operating system in which it is installed. Recently, to
our regret, two actions have come together:
1.- The operating system was changed to SUSE.
2.- We have updated the version of our application.
(managedServiceFactory.getName() + " disapears.");
isBrokerActive = false;
}
It's work, so thx to Christian an JB for theirs post.
Regards
--
View this message in context:
http://karaf.922171.n3.nabble.com/ActiveMq-karaf-shutdown-tp4049950p4050032.html
Sent from the Ka
Hi Christian,
Thx for your comment, I will try asap, and send my feedback
Regards
--
View this message in context:
http://karaf.922171.n3.nabble.com/ActiveMq-karaf-shutdown-tp4049950p4049963.html
Sent from the Karaf - User mailing list archive at Nabble.com.
eMq embedded in Karaf.
I would like to shutdown the feature activemq-broker-noweb at the end.
Why, because I have a feature (bundles connected with the broker) which stop
(on a karaf shutdown) after the activemq and I would like the reverse, i.e.
shutdown my feature, and after shutdown the activ
to know, if the broker is there or not?
Regards
--
View this message in context:
http://karaf.922171.n3.nabble.com/ActiveMq-karaf-shutdown-tp4049950p4049952.html
Sent from the Karaf - User mailing list archive at Nabble.com.
with the broker) which stop
(on a karaf shutdown) after the activemq and I would like the reverse, i.e.
shutdown my feature, and after shutdown the activemq feature.
Do we have only the start-level at our disposition?
Thx a lot for a help
Regards
Xav
--
View this message in context:
http
Hi all,
I have a question about ActiveMq embedded in Karaf.
I would like to shutdown the feature activemq-broker-noweb at the end.
Why, because I have a feature (bundles connected with the broker) which stop
(on a karaf shutdown) after the activemq and I would like the reverse, i.e.
shutdown my
vembre 2016 10:57
*À :* user
*Objet :* Re: Karaf shutdown
2016-11-21 10:30 GMT+01:00 CLEMENT Jean-Philippe
<jean-philippe.clem...@fr.thalesgroup.com
<mailto:jean-philippe.clem...@fr.thalesgroup.com>>:
Would be great ! It would also be nice to be able to call it
programmatically,
ð Created the Jira KARAF-4826<https://issues.apache.org/jira/browse/KARAF-4826>
Thank you !
Regards,
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : lundi 21 novembre 2016 10:57
À : user
Objet : Re: Karaf shutdown
2016-11-21 10:30 GMT+01:00 CLEMENT Jean-Philippe
fré [mailto:j...@nanthrax.net]
> Envoyé : lundi 21 novembre 2016 10:27
> À : user@karaf.apache.org
> Objet : Re: Karaf shutdown
>
> +1
>
> Regards
> JB
>
> On 11/21/2016 10:25 AM, Guillaume Nodet wrote:
> > We could easily add an option to the shutdown command f
@karaf.apache.org
Objet : Re: Karaf shutdown
+1
Regards
JB
On 11/21/2016 10:25 AM, Guillaume Nodet wrote:
> We could easily add an option to the shutdown command for that.
>
> 2016-11-21 10:21 GMT+01:00 CLEMENT Jean-Philippe
> <jean-philippe.clem...@fr.thalesgroup.com
> <mail
pen when (at
least) a bundle does not end. So I added a watchdog which
exits Java when a time limit has been exceeded (note: maybe
there is already a way to do so - ?). The way I coded it
does not work when the shutdown is made via the Karaf
promp
n within a given time
> limit. Is there a way to do so?
>
>
>
> Regards,
>
> JP
>
>
>
> *De :* Guillaume Nodet [mailto:gno...@apache.org]
> *Envoyé :* vendredi 18 novembre 2016 20:16
>
> *À :* user
> *Objet :* Re: Karaf shutdown
>
>
>
>
&
ll some room for improvements in blueprint-core
when shutting down bundles.
Regards,
JP
De : Guillaume Nodet [mailto:gno...@apache.org<mailto:gno...@apache.org>]
Envoyé : vendredi 18 novembre 2016 17:04
À : user
Objet : Re: Karaf shutdown
You have 2 events for each bundle (but for
ill some room for improvements in
blueprint-core when shutting down bundles.
>
>
> Regards,
>
> JP
>
>
>
> *De :* Guillaume Nodet [mailto:gno...@apache.org]
> *Envoyé :* vendredi 18 novembre 2016 17:04
>
> *À :* user
> *Objet :* Re: Karaf shutdown
>
&
, the spec says I should first get the event. Should not be tied to
the actual stopping order, isn’t it (Blueprint or not)?
Regards,
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : vendredi 18 novembre 2016 17:04
À : user
Objet : Re: Karaf shutdown
You have 2 events for each bundle
apache.org]
> *Envoyé :* vendredi 18 novembre 2016 16:40
>
> *À :* user
> *Objet :* Re: Karaf shutdown
>
>
>
>
>
>
>
> 2016-11-18 15:01 GMT+01:00 CLEMENT Jean-Philippe <
> jean-philippe.clem...@fr.thalesgroup.com>:
>
> Did you also add a bundle whi
-stopping-bundle and displaying the event
type?
Regards,
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : vendredi 18 novembre 2016 16:40
À : user
Objet : Re: Karaf shutdown
2016-11-18 15:01 GMT+01:00 CLEMENT Jean-Philippe
<jean-philippe.clem...@fr.thalesgroup.com<mailt
et-commons-ssl_0.3.11.1
[31]]
...
>
>
> Regards,
>
> JP
>
>
>
> *De :* Guillaume Nodet [mailto:gno...@apache.org]
> *Envoyé :* vendredi 18 novembre 2016 14:26
>
> *À :* user
> *Objet :* Re: Karaf shutdown
>
>
>
> You must be doing something wrong.
>
> I added
Did you also add a bundle which prevents stopping ?
PS: in your traces which event is the shutdown itself?
Regards,
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : vendredi 18 novembre 2016 14:26
À : user
Objet : Re: Karaf shutdown
You must be doing something wrong.
I added
> System.out.println("Oooops: " + e);
>
> LOG.error(() -> "Issue while stopping karaf", e);
>
> }
>
> }
>
> }
>
>
>
> Regards,
>
> JP
>
>
>
> *De :* Guillaume Nodet [mailto:gno...@
PS : After calling shutdown() the output is :
Bye bye
So long!
De : CLEMENT Jean-Philippe
Envoyé : vendredi 18 novembre 2016 13:29
À : user
Objet : RE: Karaf shutdown
That’s exactly what I did. The listener is not called at all. Looking at
bundles
JP
De : Guillaume Nodet [mailto:gno...@apache.org]
Envoyé : vendredi 18 novembre 2016 13:01
À : user
Objet : Re: Karaf shutdown
Can you write a simple SynchronousBundleListener that prints to stdout all
received events and paste the output when stopping the framework for felix and
:* vendredi 18 novembre 2016 11:52
> *À :* user
> *Objet :* Re: Karaf shutdown
>
>
>
> The SynchronousBundleListener is the way to go.
>
> You should receive a STOPPING event for the system bundle before any other
> bundle is actually stopped.
>
>
>
> 2016-11-18 1
t work when the shutdown is made via the Karaf prompt, so I decided to
enhance it.
Googling “Karaf shutdown hook”, I found an old thread talking about
SynchronousBundleListener. The issue I’m facing is that I get no event when
performing bundle0.stop(Bundle.STOP_TRANSIENT) and one of the
own event?
>
>
>
> Regards,
>
> JP
>
>
>
> *De :* CLEMENT Jean-Philippe [mailto:jean-philippe.clement@
> fr.thalesgroup.com]
> *Envoyé :* jeudi 17 novembre 2016 17:03
> *À :* user@karaf.apache.org
> *Objet :* Karaf shutdown
>
>
>
> Dear Karaf addicts :)
&
Is there a way to get a shutdown event?
Regards,
JP
De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com]
Envoyé : jeudi 17 novembre 2016 17:03
À : user@karaf.apache.org
Objet : Karaf shutdown
Dear Karaf addicts :)
I would like Karaf to stop. This may fail to happen when
is made via the Karaf prompt, so I decided to
enhance it.
Googling “Karaf shutdown hook”, I found an old thread talking about
SynchronousBundleListener. The issue I’m facing is that I get no event when
performing bundle0.stop(Bundle.STOP_TRANSIENT) and one of the bundles refuses
to stop
it before doing the actual Karaf shutdown.
:38:37.258 [Thread-2] INFO o.a.karaf.main.ShutdownSocketThread - Karaf
shutdown socket: received shutdown command. Stopping framework...
*Start again without deleting data folder.*
07:45:35.968 [Blueprint Extender: 1] ERROR o.a.a.b.c.BlueprintContainerImpl
- Unable to start blueprint container
Hi,
I would cleanup the data folder as you may have some bundles cache in
incorrect state.
Regards
JB
On 11/19/2014 08:58 AM, Srikanth Hugar wrote:
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
It works if i clean up the data folder. Do we have option to start the
karaf without cleaning the data folder?
Srikanth Hugar
www.gharki.com
On Wed, Nov 19, 2014 at 1:48 PM, Jean-Baptiste Onofré j...@nanthrax.net
wrote:
Hi,
I would cleanup the data folder as you may have some bundles cache
What's your Karaf version ?
Regards
JB
On 11/19/2014 09:20 AM, Srikanth Hugar wrote:
It works if i clean up the data folder. Do we have option to start the
karaf without cleaning the data folder?
Srikanth Hugar
www.gharki.com http://www.gharki.com
On Wed, Nov 19, 2014 at 1:48 PM,
karaf version is 3.0.0
Srikanth Hugar
www.gharki.com
On Wed, Nov 19, 2014 at 2:02 PM, Jean-Baptiste Onofré j...@nanthrax.net
wrote:
What's your Karaf version ?
Regards
JB
On 11/19/2014 09:20 AM, Srikanth Hugar wrote:
It works if i clean up the data folder. Do we have option to start
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3.
I have an application in which, when it's given the stop command, I'd
like to finish some work in progress before shutting down bundle 0.
This is because the bundle shutdown starts prematurely shutting down
services and such that are necessary for the work to complete.
For now, I've implemented
On 11/26/2012 02:33 PM, Raman Gupta wrote:
Ideally, Karaf would have a ShutdownHook interface/service I could
implement in my bundles -- for each one of these registered, Karaf
would execute them before stopping the framework bundles. If someone
could give me some starting pointers, I could
.
Thanks!
Tony Bargnesi
On Sat, Jun 2, 2012 at 1:43 AM, Jean-Baptiste Onofré j...@nanthrax.netwrote:
Hi Anthony,
Could you try:
$ reset
after Karaf shutdown.
Does it solve your issue ?
Regards
JB
On 06/01/2012 05:10 PM, Anthony Bargnesi wrote:
Hello,
I am having an issue
Anthony,
Could you try:
$ reset
after Karaf shutdown.
Does it solve your issue ?
Regards
JB
On 06/01/2012 05:10 PM, Anthony Bargnesi wrote:
Hello,
I am having an issue with my backspace key mapping after a karaf
shutdown. The backspace key appears to be mapped differently as a ^H
Hello,
I am having an issue with my backspace key mapping after a karaf shutdown.
The backspace key appears to be mapped differently as a ^H is displayed
instead. The process I've used to reproduce the issue is:
-- BACKSPACE works correctly before karaf is run --
[tony@starship ~]$ karaf
Hi Anthony,
Could you try:
$ reset
after Karaf shutdown.
Does it solve your issue ?
Regards
JB
On 06/01/2012 05:10 PM, Anthony Bargnesi wrote:
Hello,
I am having an issue with my backspace key mapping after a karaf
shutdown. The backspace key appears to be mapped differently as a ^H
42 matches
Mail list logo