Fixed bug->TomCat sometimes doesn't launch