A user would ssh in, run the script and at the end, watch the logs roll
by. Normally they'd hit control+C, log out and everything would be
fine. If they just close the window though, it not only ends their
session and kills the shell but also kills tomcat.
use the 'screen' application.