Generic tomcat script

This script makes it easy to control your main tomcat installation.
All you need to do is set the $CATALINA_HOME environment variable to the location of your tomcat installation.

The available switches are:

  • start starts tomcat
  • stop stops tomcat
  • restart stops then starts tomcat
  • kill kill -9’s tomcat process
  • tail tails tomcat log

Usage examples:
tomcat start starts tomcat
tomcat restart restarts tomcat

NB: all parameters are case insensitive
The script can be found on github here.

Advertisements
Tagged with: , , , ,
Posted in programming, scripts
One comment on “Generic tomcat script
  1. […] all parameters are case insensitive This script requires the Generic tomcat script found on github here The script can be found on github here Possibly related posts: (automatically […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: