updated for tomcatRun and jettyRun