fixed some issues to shut tomcat up and start the war file