The best way is to use a init.d script. An example is given here: http://www.ubuntuforums.org/showpost.php?p=230849&postcount=4 The post is from this discussion, which may contain other interesting info for using Tomcat: http://www.ubuntuforums.org/showthread.php?p=226828#post226828 -- johanvdw