You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Stefan Lorenz <St...@persis.de> on 2014/07/01 08:19:49 UTC

Maintenance mode

Hi there,

is it possible to start up a Wicket Application in a maintenance mode, where no services are running (e.g. JPA);
it would be helpful if the application should get an upgrade with changes at the database...

Regards
Stefan

Re: Maintenance mode

Posted by Martin Grigorov <mg...@apache.org>.
HI,

Wicket is a web framework, not a full-stack framework.
So there are no services. The services are something specific to the
applications.

But you can use custom root request mapper that checks for a custom setting
(set via JMX for example) and handles all requests, e.g. returns a simple
HTML page saying "being in maintenance".

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Tue, Jul 1, 2014 at 9:19 AM, Stefan Lorenz <St...@persis.de>
wrote:

> Hi there,
>
> is it possible to start up a Wicket Application in a maintenance mode,
> where no services are running (e.g. JPA);
> it would be helpful if the application should get an upgrade with changes
> at the database...
>
> Regards
> Stefan
>