General Purpose Tomcat Init Script

tomcat

I’ve forked a nice tomcat init script that works quite reliably and added a number of general purpose features to it.
Check the script at github:
https://github.com/geekpete/tomcatscripts/ tomcat.sh

Features/Options include:

  • email notify on tomcat container start up
  • custom port prefix to run more than one tomcat container on the same host/ip
  • RHEL/Fedora chkconfig compatible so you can configure run on startup
  • Lots of handy jvm/tomcat configs with either preconfigured examples or commented out examples

Keen have any feedback on it.
In a future post, I’ll provide a working tomcat example and a possible puppet template variation.