Update Tomcat to a new port handling functions