Sign inSign up

cloudesire/catwatcher

By cloudesire

•Updated over 9 years ago

Tomcat with embedded catwatcher to automatically restart failing webapps

Artifact
Image
0

10K+

cloudesire/catwatcher repository overview

⁠catwatcher

Build Status

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

Tag summary

Content type

Image

Digest

sha256:830a931fc…

Size

126.4 MB

Last updated

over 9 years ago

docker pull cloudesire/catwatcher:8-jre8-latest