karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: Bundle auto-restart
Date Sat, 03 Dec 2016 14:39:35 GMT
I would say you might want to figure out the timing issues and perhaps do
things differently. Are you using blueprint, declarative services, or just
plain OSGi? What is the interdependency? Services?

On Sat, Dec 3, 2016 at 7:32 AM Aymen Furter <aymen.furter@prodyna.com>
wrote:

> 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
> Aymen
>
> 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>> wrote:
> Hi,
>
> Yes exactly!
>
> best regards
> Aymen
> > 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
> >>
> >>
>
>
>
>

Mime
View raw message