Public Repository

Last pushed: 9 months ago
Short Description
Tomcat with embedded catwatcher to automatically restart failing webapps
Full Description

catwatcher

GitHub Project

I am the watcher of the tomcats.

Catwatcher is a web application mean to be run on tomcat webservers (local or even remote), that uses the tomcat-manager API (yeah, a sort of) to monitor che status of every running webapp, and automatically try to restart them if, for some reason, they fails.

A lot of problems may arise especially on highly dynamic cloud infrastructures, when instances can reboot everytime and come again up unpredictably.
A common pitfall is that the database VM takes more time to startup rather than the application server, and then the application server will inevitably fails since it can't connect to the configured database server. In such situation, you need to manually try to re-deploy the web application or setup some complex active monitoring system.

Catwatcher is a set-and-forget solution that once deployed will watch your running webapps, and try to (re-)start them if failed for whatever reason.

Docker image

This catwatcher image is based on cloudesire/tomcat:7.0-jre8.

Run with:

docker run -p 8080:8080 cloudesire/catwatcher
Docker Pull Command
Owner
cloudesire