O'Reilly logo

Mastering GeoServer by Colin Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automatic recovery from service failures

When running GeoServer in a production environment, the last thing we want to happen is for an instance to fail, and the first time we hear about it is when a customer complains. In this scenario, what we need is a script that can be executed on a schedule to check that GeoServer is still up and responding to requests.

These types of scripts are commonly referred to as Watchdog scripts. The principle behind the script is very simple: it makes a request to the server, and if it receives a failed response, then it attempts to restart the service.

When running GeoServer in a production environment, we need to create a Watchdog script that executes on a regular schedule and performs the following checks:

  • Checks ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required