I'd like to because i'm using a cloud service to host my app that provide
the feature your are talking about when the application doesn't deploy well.

Anyway, if it's not possible, I think a failure mode would be sufficient.

2014-10-15 18:14 GMT+02:00 Kalle Korhonen <kalle.o.korho...@gmail.com>:

> Are you sure that completely preventing it from starting is the right way
> to go? Wouldn't it be better to put your application in that case to a
> failure mode, that for example would direct all requests to a system error
> page that clearly communicates the problem to the user/administrator? That
> logic could be reused for any system failure during runtime (loss of
> database connectivity etc.), not only for the app startup.
>
> Kalle
>
> On Wed, Oct 15, 2014 at 8:53 AM, Charlouze <m...@charlouze.com> wrote:
>
> > Hey everyone,
> >
> > Is there a way to prevent my tapestry app from starting ?
> >
> > My use case is that I perform some checks (database schema validation,
> > symbols presence, etc). If one of those checks fails then my app should
> not
> > start.
> >
> > Cheers,
> > Charles.
> >
>

Reply via email to