making the startup port for tomcat dynamic