karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aymen Furter <aymen.fur...@prodyna.com>
Subject Re: Bundle auto-restart
Date Sat, 03 Dec 2016 12:32:02 GMT
Yes, like a retry!

I ran into issues having bundles that bring each other into Failure state during deployment.
(If you restart all bundles afterwards it works fine)

The solution is obviously to fix this inside the bundles (Usually OSGi related problems) you
are developing.

However, especially on a dev machine it would be nice if there would be an "auto restart if
bundle goes into Failure state after x amount of time for n tries". If there is no such option
(or if you would say there is no need for that option) that's a valuable and helpful answer
for me aswell ;-)

best regards

Like a "retry"? What type of temporary failure are you looking to handle gracefully?

On Fri, Dec 2, 2016 at 6:24 PM Aymen Furter <<mailto:aymen.furter@prodyna.com>aymen.furter@prodyna.com<mailto:aymen.furter@prodyna.com>>

Yes exactly!

best regards
> Hi,
> I guess you mean "automatically" ? Without any action from the user.
> Right ?
> Regards
> JB
> On 12/02/2016 04:22 PM, Aymen Furter wrote:
>> Hi all,
>> One small question:
>> Is there a way in karaf to automatically restart a bundle, if it is in
>> "Failure" state?
>> best regards
>> Aymen

View raw message